[Soot-list] Chaining Body transformers

Karthik reachsrk at gmail.com
Sat Jul 2 04:55:15 EDT 2011


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


More information about the Soot-list mailing list