[Soot-list] Back edge query

dinesh chhatani dinustudy at gmail.com
Wed Mar 31 01:27:08 EDT 2010


Hi,

UnitGraph graph =new ExceptionalUnitGraph(body);
gives me CFG.
Now I can iterate over it using Iterator and fetch the Units(which are nodes
in this CFG).

Now if I want to know whether the given node branches or not,I can get by
Unit.branches();

The question is that,I want to know whether that Branch is back edge(while
loops...) or edge of ' If else' ?How can I get this information through Unit
or anything that u know.

Thanks
-- 
Regards,
Dinesh Chhatani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100331/b021bd19/attachment.html 


More information about the Soot-list mailing list