[Soot-list] Jimple optimizations before Shimple transformation

Daniel Wainwright daniel at libwebsite.so
Tue Oct 2 04:15:52 EDT 2012


Hi Eric,

Thank you for your quick reply. Would this mean that I would have to
rewrite these optimizations myself to use them here? I assume that the
standard optimizations in the Jimple optimization pack would not be able to
operate on Shimple without modifications. Is this correct?

Thanks,
Daniel

On Tuesday, October 2, 2012, Eric Bodden wrote:

> Hi Daniel.
>
> I think you could apply the transformations you need within a
> ScenTransformer that you stick into the wspp ("Whole-Shimple
> Pre-processing Pack") pack. That one should run before the other
> shimple transformations.
>
> Cheers,
> Eric
>
> On 1 October 2012 08:21, Daniel Wainwright <daniel at libwebsite.so> wrote:
> > Hi,
> >
> > I am trying to perform some instrumentation with Soot using the Shimple
> > representation, and I would like to have some optimizations from the
> Jimple
> > optimization pack run before the instrumentation phase that I am
> writing. I
> > believe that some optimizations would help to reduce the amount of
> > instrumentation that I would need, such as constant folding and dead
> > assignment elimination.
> >
> > However, I understand that Soot  will always run the Shimple
> transformation
> > pack before all Jimple packs. Is there a way I can ask Soot to translate
> the
> > output of the Jimple optimization pack into Shimple, so that I can
> benefit
> > from these optimizations before the instrumentation? (The final output
> that
> > I would like from this all is instrumented class files, but with minimum
> > instrumentation.)
> >
> > I'm sorry if this has been asked before but I couldn't find anything in
> the
> > archives. Thanks for your help.
> > Daniel
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at sable.mcgill.ca <javascript:;>
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
>
>
>
> --
> Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering Group at EC SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca <javascript:;>
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20121002/1cef22d3/attachment.html 


More information about the Soot-list mailing list