You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can refer art/runtime/interpreter/interpreter.cc DoInvoke() method.
and there are two implement in SetEntryPointFromInterpreter : "artInterpreterToInterpreterBridge" and "artInterpreterToCompiledCodeBridge", one is just Interpreter execute, and another is CompiledCode execute. And I think this is a nice hook point for Interpreter method! Thank you!
请教一个问题。
任何一个method在art上都有2个入口,一个解释器,一个本地机器指令。我想hook一个method。
我看了您的源码,art_method->SetEntryPointFromQuickCompiledCode,这样是hook住一个本地机器指令执行的method。
我看您注释掉art_method->SetEntryPointFromInterpreter。
我想问的是,如果是解释执行的话,是不是必须SetEntryPointFromInterpreter才能hook住?
谢谢!!
The text was updated successfully, but these errors were encountered: