[Soot-list] Exception in thread "main" java.lang.ClassCastException: soot.coffi.CONSTANT_InterfaceMethodref_info cannot be cast to soot.coffi.CONSTANT_Methodref_info

Jason Xie 472408570 at qq.com
Tue Jun 3 09:46:13 EDT 2014


Dear Steven and All:
     when I want to get the CFG of apk, I encounter the the following Exception:(Do some guys have the same problems?)
    Exception in thread "main" java.lang.ClassCastException: soot.coffi.CONSTANT_InterfaceMethodref_info cannot be cast to soot.coffi.CONSTANT_Methodref_info
	at soot.coffi.CFG.jimpleReturnTypeOfMethodRef(CFG.java:2488)
	at soot.coffi.CFG.processFlow(CFG.java:2315)
	at soot.coffi.CFG.jimplify(CFG.java:1119)
	at soot.coffi.CFG.jimplify(CFG.java:925)
	at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:100)
	at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:89)
	at soot.SootMethod.retrieveActiveBody(SootMethod.java:322)
	at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod(OnFlyCallGraphBuilder.java:526)
	at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processReachables(OnFlyCallGraphBuilder.java:419)
	at soot.jimple.toolkits.callgraph.CallGraphBuilder.build(CallGraphBuilder.java:84)
	at soot.jimple.toolkits.callgraph.CHATransformer.internalTransform(CHATransformer.java:43)
	at soot.SceneTransformer.transform(SceneTransformer.java:39)
	at soot.Transform.apply(Transform.java:90)
	at soot.RadioScenePack.internalApply(RadioScenePack.java:57)
	at soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:49)
	at soot.Pack.apply(Pack.java:116)
	at soot.PackManager.runWholeProgramPacks(PackManager.java:539)
	at soot.PackManager.runPacksNormally(PackManager.java:443)
	at soot.PackManager.runPacks(PackManager.java:388)
	at soot.Main.run(Main.java:203)
	at soot.Main.main(Main.java:146)
        Looking forward to your reply.
Thanks&Regards,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140603/61c29a49/attachment.html 


More information about the Soot-list mailing list