[Soot-list] process-dir, main-class, entry points and call graph

jiangfan shi jiangfan.shi at gmail.com
Sat Feb 26 13:03:56 EST 2011


Thanks for your clarification, Eric.

Best Wishes,

Jiangfan

On Sat, Feb 26, 2011 at 1:37 AM, Eric Bodden <
bodden at st.informatik.tu-darmstadt.de> wrote:

> Hi Jiangfan.
>
> -main-class and -process-dir are completely different things.
>
> -mail-class is only meaningful when whole-program mode (-w) is
> enabled. In this case, -main-class denotes the main class that is used
> as the starting point of the call graph. Soot will construct a call
> graph for all methods reachable from the main method of this main
> class, and will load all bodies of those methods.
>
> -app, on the other hand, is really just meaningful when *not* running
> in -w mode. In this case, -app has an impact on which methods Soot
> loads bodies for and therefore passes to the registered
> BodyTransformers. Without -app, Soot only loads bodies for classes
> explicitly mentioned on the command line (and in -process-dir), with
> -app Soot also loads bodies for all classes transitively referenced by
> the former.
>
> -process-dir is just a quick way of making all classes in a directory
> "application classes", i.e. load and process their bodies. Again, this
> is only useful when not in -w mode.
>
> Eric
> --
> Dr. Eric Bodden, http://bodden.de/
> Principal Investigator in Secure Services at CASED
> Coordinator of the CASED Advisory Board of Study Affairs
> PostDoc at Software Technology Group, Technische Universität Darmstadt
> Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
> Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110226/bd7f253e/attachment.html 


More information about the Soot-list mailing list