问题
I am currently working with android source tree. For my work I need to go through the instruction at run time. Previously when I used Dalvik VM I hooked into by enabling the interpreter mode and going through the following file dalvik/vm/mterp/out/InterpC-Portable.cpp
. There is a loop that continuously cycle through the instructions. I want to find something similar to this for the ART runtime.
What files should I modify?
Do I need to change something like enabling interpreter mode as I did before?
And finally how can build to libart.so? previously I typed make libdvm
, but now if I use make libart
I get the reply no such target libart.
I appreciate your help.
来源:https://stackoverflow.com/questions/24791339/the-interpretor-for-android-art-runtime