Closed mimers closed 7 years ago
xposed close some Art compile optimization when dex2oat. that was why xposed can hook View.performClick(), which use EntryPointFromQuickCompiledCode bridge when the method was called. But dexposed can't close compile optimization, so current now it only can hook the method which called using EntryPointFromQuickCompiledCode bridge.
About Android M, it also can take a reference from xposed. thank you for your information.
Is there a way to find out which method in framework can hook, and which can not?
Now You can refer the "dev_art" branch. I rewriter the hook core for art. thanks.
1.对ART的支持现在是否还有人在继续开发?
2.手淘是否使用了其他的方案来代替dexposed?
3.我测试了ART下自定义函数的可以hook,但是对于View的方法比如performClick不可以hook, dexposed/dexposed_so/dexposed_art/dexposed.cpp里的
EnableXposedHook
是什么原因导致的这个问题呢? 另外xposed也支持了6.0的hook,在android_art/runtime/art_method.cc里的
是否可以借鉴一下?