[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question:



On Tue, 17 Jun 2003, Venkatesh Prasad Ranganath wrote:

> For the code given below, can somebody enlighten me as to what is the
> equivalent code in soot 2.0? The code snippet worked in a very old
> version of Soot.  I know things have changed since then, but now it
> seems that one needs to have a SootResolver, JimpleInputStream,
> JimpleAST, and a whole lot of other classes to get the job done.

> 	public static JimpleBody getJimpleBody(SootMethod sm) {

Call sm.retrieveActiveBody();

> Also, it would be useful if the Soot developers speand some time writing
> some informative and useful javadoc-style documentation.  Without such
> documentation Soot is a paradise on Mars.

I think that the core Soot classes do have javadoc.  It's nontrivial to
write javadoc for every Soot class, though; we're accepting patches.

pat