[Soot-list] how to see the CFG

Eric Bodden eric.bodden at ec-spride.de
Wed Jan 23 11:15:33 EST 2013


Hi,

> I have written the code that loads a class and constructs the CFG of a
> method and I have 2 questions:
> How can I see the CFG of the method so that I could get sure that the code
> is working right?

You can use the Eclipse plugin in "interactive mode". See our
documentation online.

> Another question is there a way to get all the method names of a class?

Just iterate through myClass.getMethods() and on each SootMethod
invoke method.getName().

Eric


More information about the Soot-list mailing list