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
When building, all the files get compiled (of course with some tweaking). But, the linker gives this error:
./obj/local/arm64-v8a/libexploit.a(mmap.o): In function `mmap':
/root/Dev/android_run_root_shell/libexploit/mmap.c:55: undefined reference to `__mmap2'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
rename mmap func in mmap.c to something, say, mmap_tmp;
change __mmap2 to mmap2 in the func's body.
Or you might comment the whole func. It's allowed 'cause the exploit would stick to native mmap instead of custom one.
That's not the last error there so get ready to fix the things after. ;)
When building, all the files get compiled (of course with some tweaking). But, the linker gives this error:
The text was updated successfully, but these errors were encountered: