[Soot-list] build AST

Chris Pickett chris.pickett at mail.mcgill.ca
Thu Feb 16 17:43:07 EST 2006


Hi Paritosh,

What do you want to do with a Java bytecode AST that you cannot do on 
Jimple or Baf?  Jimple is particularly convenient for analysis and 
optimisation.

The class file parser in Soot is called Coffi, but I'm not sure if you 
can get a bytecode AST out of it.

Cheers,
Chris

Paritosh Shroff wrote:
> Hi,
> 
> I am a grad student at Johns Hopkins University and am trying to 
> implement my new whole program analysis algorithm for the java bytecode.
> 
> 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.
> 
> I would highly appreciate if someone could give me pointers on how to 
> use Soot to parse the java class files and get the AST of the bytecode, 
> as is, without converting to baf or jimple formats.
> 
> Thanks a lot for your help!
> 
> Paritosh
> 
> _______________________________________________
> 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