[Soot-list] Getting Exception in thread "main" java.lang.ClassCastException: soot.baf.internal.BIdentityInst cannot be cast to soot.jimple.Stmt

ASHISH MISHRA ashish123.mishragkp at gmail.com
Sat Apr 27 09:14:44 EDT 2013


Hi All,
I am trying to perform some instrumentation on Method bodies, I am
extending the jtp phase for the same, The system runs fine if I provide "-f
Jimple" as the output option. But, I get the following Exception when
remove -f jimple and try getting .class output.
*
*
*Exception in thread "main" java.lang.ClassCastException:
soot.baf.internal.BIdentityInst cannot be cast to soot.jimple.Stmt*

I assume there is some problem in conversion from Baf to jimple , Can any
one please give some probable cause of the problem and some solution.
Thanks in Advance




-- 
Regards,
Ashish Mishra
Graduate Student,
Computer Science and Automation Department,IISc
Cell : +91-9611194714
Mailto : ashishmishra at csa.iisc.ernet.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130427/197e6fe5/attachment-0001.html 


More information about the Soot-list mailing list