[Soot-list] Call an explicit phase pack

Emma emma4ever86 at hotmail.com
Thu Jul 3 04:58:41 EDT 2014


Thanks Steven!

Although, the code that I proposed doesn't really work. That's why I 
said "something" like that :P
/    PackManager.v().getPack("wjtp.myColorer").runPack();
/There is no *runPack*() method in Soot, but just runPack*s*();
We can just do:
             PackManager.v().runPacks();

That is my main question how to do it. I'd really appreciate any help
Thank you very much in advance

Emmanuelo


On 03/07/2014 00:00, Steven Arzt wrote:
>
> Hi Emmanuelo,
>
> This is theoretically possible. You need to set your Soot options 
> using the setters in Options.v(), then call 
> Scene.v().loadNecessaryClasses() and then call the packs you need with 
> the code you have already proposed. However, note that Soot depends on 
> some early packs such as jb to get its Jimple bodies -- otherwise, 
> there is not much you can work on.
>
> 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: steven.arzt at ec-spride.de <mailto:steven.arzt at ec-spride.de>
>
> Web: http://sse.ec-spride.de <http://sse.ec-spride.de/>
>
> *Von:*soot-list-bounces at CS.McGill.CA 
> [mailto:soot-list-bounces at CS.McGill.CA] *Im Auftrag von *emma
> *Gesendet:* Montag, 12. Mai 2014 18:25
> *An:* Soot list
> *Betreff:* [Soot-list] Call an explicit phase pack
>
> Hi list,
>
> I'd like to ask if it is possible (and how) to call an explicit soot 
> phase pack.
> I need to call the phases AFTER wjtp. So, is it possible to run the 
> phases after these one
> and exclude the previous ones?
>
> I know that we can apply a new pack, but how can we run soot from that 
> pack only?
> like perhaps:
> /PackManager.v().getPack("wjtp.myColorer").runPack();/
>
>
> Thanks a lot,
>
> --Emmanuelo
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://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/20140703/e482db3e/attachment.html 


More information about the Soot-list mailing list