[Soot-list] Chaining Body transformers
Eric Bodden
bodden at st.informatik.tu-darmstadt.de
Mon Jul 4 04:41:32 EDT 2011
Hi Karthik.
For this to work it is better to use a SceneTransformer. This
transformer then explicitly retrieves all "application classes" from
the scene and all method bodies from those classes, then applying the
body transformers in the respective order. That also makes it easier
for you to store information between the different passes.
Note that Scene transformers have to go into the wjtp pack, which also
has to be enabled using the -w option.
Eric
On 2 July 2011 10:55, Karthik <reachsrk at gmail.com> wrote:
> I have two BodyTransformers (jtp). The first one extracts some information
> from every method, and the second one has to use it to perform some
> transformations.
> Currently I've added both transformers but the sequence is
>
> BodyTransformer1 - method1,
> BodyTransformer2 - method1,
> BodyTransformer1 method 2,
> BodyTransformer2 - method2, etc.
>
>
> Can I chain them so that the workflow becomes as follows:
> BodyTransformer1 - is invoked with method1, method 2, method3, method N -
> followed by
> BodyTransformer2 - method1, method2, method3, method N.
>
>
> Thanks,
>
> Karthik Ramachandra
> IIT Bombay.
> http://www.cse.iitb.ac.in/~karthiksr
>
>
> _______________________________________________
> 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