[Soot-list] How do I implement my requirement?
Eric Bodden
eric.bodden at ec-spride.de
Fri Jun 1 04:35:53 EDT 2012
Hello.
> 1- I have a wrapper main class around soot.Main that creates the right
> parsing option:
> String[] myArgs = new String[]{"-v", "-src-prec", "java", "-f",
> "jimple", "-process-dir", ...
> The problem I have is that it doesn't find some of the class definitions
> deeper in the folder hierarchy. How do I make soot crawl the directory
> structure?
You should put the directory on Soot's classpath, then this happens
automatically if your directory structure is coherent.
> 2- I guess I would have to implement a new transformer class. But I am
> not sure how to make it executed though.
Add it to the appropriate pack.
> 3- Is that the -w flag? Which interprocedural analysis does it perform?
By default it just builds a call graph (which you will need) and points-to sets.
> 5- Would I have to create a big list of -x java. -x org.apache. -x ... etc?
Just use -no-bodies-for-excluded.
Eric
More information about the Soot-list
mailing list