[Soot-list] About break statement in loop

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Tue Feb 2 02:51:23 EST 2010


Hi.

I think that in general it will be very hard to tell apart a "normal"
loop exit from a "break" statement on the Jimple level because both
will be compiled into a "goto" statement. So do you really need to
know all break statements or are you just interested in all possible
loop exits?

Eric

--
Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt


On 2 February 2010 06:58, Qingzhou Luo <seriousamlqz at yahoo.cn> wrote:
>
> Hi all,
>
> I want to use Soot to find all the break statements in a loop(for,while,do, not in switch). But actually it doesn't count for loop exit statement in Jimple. So I'm wondering if there a way to do such things?
>
> Thanks,
>
> Qingzhou
> ________________________________
> 好玩贺卡等你发,邮箱贺卡全新上线!
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


More information about the Soot-list mailing list