SsageParuders / AndroidPtraceInject

Android Ptrace Inject for all ABIs and all APIs. Help you inject Shared Library on Android.
MIT License
170 stars 66 forks source link

App crashed after injection #6

Open ydaniels opened 1 year ago

ydaniels commented 1 year ago

cannot inject into any app

[+] ptrace_call mmap success, return value=FFFFFFFFFFFFFFFC, pc=7B5851976AA0 [+] Remote Process Map Memory Addr:0xfffffffffffffffc [+] linker_path value:/apex/com.android.runtime/bin/linker64 [+] [get_remote_func_addr] lmod=0x785E24757000, rmod=0x7B585117A000, lfunc=0x785E24758B50, rfunc=0x7B585117BB50 [+] dlopen RemoteFuncAddr:0x7b585117bb50 [+] [get_remote_func_addr] lmod=0x785E24757000, rmod=0x7B585117A000, lfunc=0x785E24758B70, rfunc=0x7B585117BB70 [+] dlsym RemoteFuncAddr:0x7b585117bb70 [+] [get_remote_func_addr] lmod=0x785E24757000, rmod=0x7B585117A000, lfunc=0x785E24758BA0, rfunc=0x7B585117BBA0 [+] dlclose RemoteFuncAddr:0x7b585117bba0 [+] [get_remote_func_addr] lmod=0x785E24757000, rmod=0x7B585117A000, lfunc=0x785E24758B60, rfunc=0x7B585117BB60 [+] dlerror RemoteFuncAddr:0x7b585117bb60 [+] Get imports: dlopen: 5117bb50, dlsym: 5117bb70, dlclose: 5117bba0, dlerror: 5117bb60 [+] LibPath = /data/local/tmp/libHook.so [-] Write Remote Memory error, MemoryAddr:0xcf375380,, err:I/O error [-] Call Remote mmap Func Failed, err:I/O error [+] detach process success, pid:42567 [-] Inject Erro

Android 11 x86_64 emulator

wenli7363 commented 1 year ago

the same as.... I don't know why function mmap return value is FFFFFFFFFFFFFFFC......... That's so f**king wired

Have you solved that problem?