[Soot-list] Call an explicit phase pack

Steven Arzt Steven.Arzt at cased.de
Wed Jul 2 17:00:20 EDT 2014


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:  <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 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140702/231ffdad/attachment.html 


More information about the Soot-list mailing list