[Soot-list] Is it a bug?

Sun Cong suncong at pku.edu.cn
Mon Apr 6 05:10:03 EDT 2015


Hi, all!

I'm reading the source code of soot. I find in the soot.jimple.toolkits.ide.icfg.AbstractJimpleBasedICFG, the method isBranceTarget(Unit u, Unit succ) should have
     for(UnitBox ub: u.getUnitBoxes()){ ...
instead of
     for(UnitBox ub: succ.getUnitBoxes()){ ...
according to the explanation on the usage of getUnitBoxes(), https://github.com/Sable/soot/wiki/Fundamental-Soot-objects .  It seems like a bug, and please let me know if I have misunderstood the meaning of the code.
Great thanks for your help!

-Cong
 


Sun Cong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150406/c1d76064/attachment.html 


More information about the Soot-list mailing list