MJx0 / AndKittyInjector

Inject a shared library into a process using ptrace
MIT License
161 stars 66 forks source link

执行完命令后 有几率卡主 #7

Closed wangchuanlai closed 3 months ago

wangchuanlai commented 11 months ago

环境 雷电模拟器 I: inject_lib: Stopped target process threads. I: inject_lib: Attaching to target process... I: inject_lib: Attached successfully. I: injectLibrary: [native=x86 | lib=arm]. W: injectLibrary: Library EMachine is not native. I: injectLibrary: Searching for NativeBridge implementation... I: injectLibrary: Found NativeBridge "libhoudini.so" version 3. I: emuInject: Using NativeBridge namespace (3).

wangchuanlai commented 11 months ago

卡在这里就不动了 同时进程也卡主

MJx0 commented 11 months ago

The freeze happens in loadLibrary call and its very random, I tried to check registers and logcat but I couldn't find the cause of it so far. You can only try to change injection delay timer for now

MJx0 commented 11 months ago

https://github.com/MJx0/AndKittyInjector/blob/520da9a3738f504724bcd6a26d2d9122b748bb95/AndKittyInjector/src/Injector/KittyInjector.cpp#L434

wangchuanlai commented 11 months ago

Can you help build binary packages

MJx0 commented 11 months ago

What's the problem?