[Soot-list] Chaining Body transformers

Karthik reachsrk at gmail.com
Mon Jul 4 23:54:33 EDT 2011


Hi Eric,

Thanks for that suggestion. However, in my situation, I'd want to not use
the whole program mode because I do not need any full fledged
interprocedural analysis.
Is there any other way apart from using a SceneTransformer?

Karthik Ramachandra
IIT Bombay.
http://www.cse.iitb.ac.in/~karthiksr



On Mon, Jul 4, 2011 at 2:11 PM, Eric Bodden <
bodden at st.informatik.tu-darmstadt.de> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110705/a56cb4d1/attachment.html 


More information about the Soot-list mailing list