[Soot-list] Interprocedural analysis with custom entry points

Quentin Sabah quentin.sabah at inria.fr
Sat Jun 2 05:36:27 EDT 2012


Usually the easy way is to set all the options you want and then call soot.Main.main(argv) and let it load classes and run packs for you.

See, the load*Classes() functions don't run any analysis, they just load enough information to build class hierarchy, list of methods & fields, signatures… And getCallGraph() is just a dumb accessor. In fact, the "cg" pack will do a setCallGraph() when it is done, so you need to run at least all the packs up to "cg".

-- 
Quentin Sabah, CIFRE Ph.D. student
Grenoble University
INRIA-SARDES                   | STMicroelectronics/AST
Montbonnot, France             | Grenoble, France
mailto:quentin.sabah at inria.fr  | mailto:quentin.sabah at st.com
phone: +33 476 61 52 42        | phone: +33 476 58 44 14


More information about the Soot-list mailing list