Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app freezes on an Emulator #12

Open
ghost opened this issue Aug 5, 2022 · 1 comment
Open

The app freezes on an Emulator #12

ghost opened this issue Aug 5, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 5, 2022

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
Copy link
Owner

FrenchYeti commented Aug 5, 2022

1/ Using Interruptor without configuration is not recommended :

  • It heavily slows down the app
  • It can fails to follow some threads
  • Arguments parsing for x64 is not complete

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant