iGio90/Dwarf

fail to attach a process

haonit opened this issue · 3 comments

Describe the bug
fail to attach a process

To Reproduce
Steps to reproduce the behavior:

  1. I use an android emulator
  2. when I tried to attach a process, it failed and pop a warning: v8 runtime not available due to build configuration
  3. ternimal shell say frida version is outdated. However, I checked frida's version. It is 14.0.5

In latest Frida > 14 the v8 Engine is disbled by default

QuickFix: try removing ", runtime='v8'" in or change to runtime='duk'
https://github.com/iGio90/Dwarf/blob/master/dwarf_debugger/lib/core.py#L339

But not sure if everything works without v8

On android 10, I have the same problem.

$ dwarf -t android com.android.chrome
* Starting new Session
* Trying to spawn com.android.chrome
-failed-
Reason: v8 runtime not available due to build configuration

Latest version works fine. Thanks.