[Soot-list] Can i have 2 internal transformations?

Eric Bodden eric.bodden at mail.mcgill.ca
Sat Aug 16 15:47:42 EDT 2008


Hi Manjiri.

Sure, just add two transforms. The first one will be run first, the
second one second.

Eric

2008/8/16 Manjiri Namjoshi <manjiri.namjoshi at googlemail.com>:
> Hello,
>
> I am interested to traverse each and every method and populate some
> structure.
> After i am done traversing the entire program (all methods once) then i
> would like to annotate the class files based on the populated data
> structure.
>
> So, basically i need to have 2 transformations.
>
> Is it possible to have this?
>
> Something like:
>
> /* adds the transformer. */
>         PackManager.v().getPack("jtp").add(new
>                         Transform("jtp.annotexample",
>                   InternalTransformTry.v()));
>
>
> /* invokes Soot */
>  soot.Main.main(args);
>
>
> To update my data structure and then i want to implement another
> "internalTranform" to annotate based on the populated structure.
>
> Thank You.
>
>
> Sincerely,
> Manjiri
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>



-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list