You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to use a cross compiler inorder to compile for Android.
When you compile it using gcc it will give you an amd64 binary not arm64. Both architectures are mutually exclusive and something built for arm64 won't work on the other and vice-versa.
So you have to use a toolchain.
Edit: Fairly certain this isn't for Android and won't compile as such..
gcc -pthread dirtyc0w.c -o dirtyc0w
gcc -pthread -pie dirtyc0w.c -o dirtyc0w
gcc -pthread -fpie dirtyc0w.c -o dirtyc0w
gcc -pthread -pie -fpie dirtyc0w.c -o dirtyc0w
(not executable: 64-bit ELF file)
Unless you know I'm wrong I believe this is designed for a different OS.
The text was updated successfully, but these errors were encountered: