[Soot-list] Is it a bug?

Bodden, Eric eric.bodden at sit.fraunhofer.de
Tue Apr 7 02:41:16 EDT 2015


Hi Cong.

Thanks a lot. I can confirm that it is a bug. I just fixed it. Fortunately this code was not regularly used as far as I can see.

Cheers,
Eric

> On 06.04.2015, at 11:10, Sun Cong <suncong at pku.edu.cn> wrote:
> 
> 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
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150407/266c844f/attachment.bin 


More information about the Soot-list mailing list