[Soot-list] build AST

Patrick LAM plam at sable.mcgill.ca
Thu Feb 16 19:10:41 EST 2006


On Thu, 16 Feb 2006, Paritosh Shroff wrote:

> I want to use Soot to parse the java bytecode and give me the AST
> (abstract syntax tree), which I can then use to perform my analysis. I
> have read all the tutorials on the homepage of Soot, but they mostly
> describe how to use Soot to perform optimizations using the Jimple format.

Chris is mostly right.  You can also do analyses on the Dava intermediate
representation, which is an abstract syntax tree synthesized from the
class files.  But Jimple is probably what you actually want to use.  It
would help if you mentioned what properties you were interested in.

pat




More information about the Soot-list mailing list