[Soot-list] Limit analysis to specific methods?

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Fri Aug 20 05:36:41 EDT 2010


Hi Konrad.

You can use a SceneTransformer instead of a BodyTransformer.
BodyTransformers are implicitly applied to all methods of all
application classes, while in a SceneTransformer you decide yourself,
which Transforms are applied where.

Please not that SceneTransformers need to be added to one of the w*
packs, though, and therefore the -w flag needs to be enabled to
execute them.

Eric

--
Dr. Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt



On 20 August 2010 11:10, Konrad Siek <konrad.siek at cs.put.poznan.pl> wrote:
> Hello,
>
> I was wondering if Soot provides some way to limit an intraprocedural
> analysis to a specific method or methods?
>
> I tried looking around a bit, but the only way I came up with is to use
> the body parameter in method internalTransform in BodyTransformer and
> either run the analysis or do nothing in that method. However I thought
> the authors could have provided something simpler that I'd overlooked.
>
> k
>
> _______________________________________________
> 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