[Soot-list] outlining code

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Fri Apr 29 04:10:39 EDT 2011


Hello Christophe.

Indeed I don't know of any such support within Soot itself. However,
there is a JastAdd "Refactoring" extension that builds on top of Soot
and actually supports an extract-method refactoring. It performs
exactly ehe analysis you are looking for, on Jimple.

There's documentation here: http://jastadd.org/refactoring-tools
However I recommend using the latest version from the JastAdd SVN
repository. I used the extension myself and the developer Max Schäfer
was very helpful in helping me getting it to work for my purposes.

Eric

On 28 April 2011 17:03, Christophe Foket <christophe.foket at elis.ugent.be> wrote:
> Hello,
>
> I want to use Soot for outlining certain code fragments into new
> methods. However, I can't find any indication that Soot has support for
> deciding whether or not a code fragment can be outlined. Is this true,
> or did I just not look hard enough?
>
> Kind regards,
>
> Christophe
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



-- 
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED
Coordinator of the CASED Advisory Board of Study Affairs
PostDoc at Software Technology Group, Technische Universität Darmstadt
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt


More information about the Soot-list mailing list