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: steve...@ec-spride.de
_______________________________________________ Soot-list mailing list Soot...@CS.McGill.CA https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
Hi Emmanuelo,
Try
PackManager.v().getPack("wjtp").apply();
If you don’t need the full pack, but just a single transformer from it, call the transform() method on it directly.
Best regards,
Steven