Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirrord layer/ cli support Alpine/musl #2335

Open
aviramha opened this issue Mar 30, 2024 · 0 comments
Open

mirrord layer/ cli support Alpine/musl #2335

aviramha opened this issue Mar 30, 2024 · 0 comments

Comments

@aviramha
Copy link
Member

aviramha commented Mar 30, 2024

Frida supports musl, but some of our functionality might break, for example in musl fopen doesn't call open but calls the syscall directly:
https://github.com/bminor/musl/blob/7ada6dde6f9dc6a2836c3d92c2f762d35fd229e0/src/stdio/fopen.c#L6

we might be able to hook syscall in this case similar to what we do in Go:
https://github.com/bminor/musl/blob/7ada6dde6f9dc6a2836c3d92c2f762d35fd229e0/src/misc/syscall.c#L8

Related issues:
#2334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant