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

安卓12测试无法成功hook #31

Closed
dqzg12300 opened this issue Sep 11, 2022 · 2 comments
Closed

安卓12测试无法成功hook #31

dqzg12300 opened this issue Sep 11, 2022 · 2 comments

Comments

@dqzg12300
Copy link

2950936b4dca059711922c279e269de
27553b629b60aecb6e10dd3ac0aa078
a9282ed9a515efaf8c16c061456e7bc
换成xposed的写法也是一样无法成功hook。环境是aosp12r3的

@canyie
Copy link
Owner

canyie commented Sep 11, 2022

这个方法太短了,很有可能被 art 内联了,建议在里面加一些其他代码(比如打印 log 之类的)再测试。

@dqzg12300
Copy link
Author

测试确实因为函数太小导致没有hook。添加log打印后就正常了

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

No branches or pull requests

2 participants