[Soot-list] doubt regarding optimizing using soot
Steven Arzt
Steven.Arzt at cased.de
Wed Jan 29 11:39:29 EST 2014
Hi Rahul,
Soot already provides an optimization called ConstantPropagatorAndFolder
(implemented in a class with this very name) which might help you either
this is directly what you need or you can at least use its code as an
example of how to implement optimizations of this type.
>From a users perspective, you just run Soot on your input program and
specify the transformations you want to enable using command-line switches
which are documented here: http://www.sable.mcgill.ca/soot/tutorial/usage/
>From a developers perspective, you write a new transformer which you
register in the appropriate phase of the transformation process. You may
want to look at this introduction into the concept of packs and phases:
http://www.bodden.de/2008/11/26/soot-packs/
Hope this helps.
Best regards,
Steven
M.Sc. M.Sc. Steven Arzt
Secure Software Engineering Group (SSE)
European Center for Security and Privacy by Design (EC SPRIDE)
Mornewegstraße 32
D-64293 Darmstadt
Phone: +49 61 51 16-75426
Fax: +49 61 51 16-72118
eMail: <mailto:steven.arzt at ec-spride.de> steven.arzt at ec-spride.de
Web: <http://sse.ec-spride.de/> http://sse.ec-spride.de
Von: soot-list-bounces at sable.mcgill.ca
[mailto:soot-list-bounces at sable.mcgill.ca] Im Auftrag von Rahul Singh
Gesendet: Mittwoch, 29. Januar 2014 17:26
An: soot-list at sable.mcgill.ca
Betreff: [Soot-list] doubt regarding optimizing using soot
hi
i am rahul. Actually i am having trouble understanding how to optimize
intermediate code using soot, so can you please give me a stepwise solution
on how to implement copy propagation optimization using soot.
I am using soot through eclipse plugin.
Hope you will help me soon, in desperate need of help.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140129/c777a15a/attachment-0001.html
More information about the Soot-list
mailing list