FrenchYeti / interruptor

Human-friendly cross-platform system call tracing and hooking library based on Frida's Stalker
Other
318 stars 45 forks source link

The app freezes on an Emulator #12

Open ghost opened 1 year ago

ghost commented 1 year ago

arch: x64 device: Emulator from Android Studio Tested API versions: 28 and 31

command: frida -U -f com.android.contacts -l _agent.js --no-pause

code:

const Interruptor = require('./android-x64-strace.min.js').target.LinuxX64();

Interruptor.newAgentTracer({
}).start();

The script hooks threads and prints some syscalls but the app itself freezes, seems like the main thread never resumes or something like that.

FrenchYeti commented 1 year ago

1/ Using Interruptor without configuration is not recommended :

2/ Interruptor is not yet able to follow fork/clone

3/ The aim of Interruptor is to trigger/stop syscall tracing from hook, else stracedoes the job

Interruptor is more designed to hook some syscall when a specific library is loaded or when another hook is trigged