-
Notifications
You must be signed in to change notification settings - Fork 120
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
不能插桩带JSR/RET指令的类 #2
Comments
@cryforyou 这个问题一般出现在一些第3方包上。目前的解决方法是把报错的类放入到黑名单中。 |
已解决 ,感谢aceso的开发人员的解答 |
能看到很多IncrementalSupportVisitor: Visiting 这种的类,黑名单是在哪里,怎么放 |
@317764920 @farmerjohngit 在gradle文件中是怎么配置的,为什么我在配置过--blackListPath = "./aceso-blacklist.txt" 后还是会报这个错,相应的包名也加进来了 |
@Dawnton 看demo |
@317764920 Demo里面没有关于黑名单设置的啊 |
@Dawnton gradle的配置参照demo中host和fix工程 |
@317764920 非常感谢 |
@317764920 gradle的配置参照demo中host和fix工程?在demo中没找到呀 |
@317764920 意思是黑名单这个文件直接创建在app下面就好了是吗 |
@zlg2338781286 见wiki: https://github.com/meili/Aceso/wiki blacklist项 |
嗯,谢谢 |
@farmerjohngit 能否加个好友 指点一下? 我这里还是有问题啊? 2933513182 |
Caused by: java.lang.RuntimeException: JSR/RET are not supported with computeFrames option
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitJumpInsn(Unknown Source)
at org.objectweb.asm.MethodVisitor.visitJumpInsn(Unknown Source)
at org.objectweb.asm.tree.JumpInsnNode.accept(Unknown Source)
at org.objectweb.asm.tree.InsnList.accept(Unknown Source)
at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
at com.mogujie.instantrun.IncrementalSupportVisitor.visitMethod(IncrementalSupportVisitor.java:146)
at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
at org.objectweb.asm.tree.ClassNode.accept(Unknown Source)
at com.mogujie.instantrun.IncrementalVisitor.instrumentClass(IncrementalVisitor.java:292)
at com.mogujie.instantrun.IncrementalVisitor$instrumentClass.call(Unknown Source)
at com.mogujie.aceso.HookWrapper.processClassInternal(HookWrapper.groovy:224)
at com.mogujie.aceso.HookWrapper.instrumentOneEntry(HookWrapper.groovy:170)
at com.mogujie.aceso.HookWrapper$_inject_closure2.doCall(HookWrapper.groovy:145)
at com.mogujie.aceso.HookWrapper.inject(HookWrapper.groovy:140)
at com.mogujie.aceso.HookWrapper$inject$0.callStatic(Unknown Source)
at com.mogujie.aceso.HookWrapper.instrument(HookWrapper.groovy:85)
at com.mogujie.aceso.HookWrapper$instrument.call(Unknown Source)
The text was updated successfully, but these errors were encountered: