[Soot-list] Error (casting Baf to Jimple)
Mansour Ahmadi
mansourweb at gmail.com
Thu Jun 30 13:42:32 EDT 2016
Hi all,
I am working around "JimpleBasedInterproceduralCFG", but I receive an error
which seems related to casting a Baf object to Jimple. You can see my code
here (It is very simple): http://pastebin.com/Hk5NjWNF
When I reach to the last LOC, namely :
Iterator<Unit> icfgIterator = icfg.getCallsFromWithin(dummyMain).iterator();
I get the following error:
Caused by: java.lang.ClassCastException: soot.baf.internal.BIdentityInst
cannot be cast to soot.jimple.Stmt
If I use ExceptionalUnitGraph, everything works fine.
Any comments would be appreciated.
Thanks,
Mansour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160630/477b2a50/attachment.html
More information about the Soot-list
mailing list