-
Notifications
You must be signed in to change notification settings - Fork 352
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
被Hook的方法执行多次后会抛出 java.lang.IncompatibleClassChangeError #60
Comments
看了你博客的技术文章,说是通过清除 hotness_count_值来防止,但是实际上好像这个问题依旧存在,直接跑demo在androidO for 循环执行hook 很快就崩溃 |
试下最新的commit ce83f47 通过 |
能简单说下这里问题在哪吗,我这边想继续跟进测试 |
小米5(7.0) 小米6(8.0)测试,android 7.0上面 调用30——40次(for循环执行的话定个一万次调用,几千次时候就无法执行了)后就无法调用hook函数了只执行原函数,8.0上稳定可以调用原函数和hook函数 |
android 6.0 360手机初测,方法findandhook这一步时候崩溃 正在换其它6.0手机跟测 |
Android 7.0试下把target method的access flag添加kAccNative |
// set the target method to native so that Android O wouldn't invoke it with interpreter 是指的这样吗,把设置kAccNative的范围扩大到Android_N,我这边试了还是一样的问题,还是我理解错了 |
any updates on this issue ? @yaeio |
same issue on xiaomi |
java.lang.IncompatibleClassChangeError: The method '原始方法的信息' was expected to be of type static but instead was found to be of type virtual (declaration of '这里是hook方法的信息' appears in /storage/emulated/0/demoPlugin-debug.apk) 机型小米6 android8.0 已经加你QQ请通过一下
The text was updated successfully, but these errors were encountered: