[Soot-list] ***SPAM*** 回复: call graph

水言子 1241635403 at qq.com
Thu Sep 20 07:30:02 EDT 2012


thanks very much!
Our project is using Soot to help !
But Soot seems huge!





------------------ 原始邮件 ------------------
发件人: "Cheng Zhang"; 
发送时间: 2012年9月20日(星期四) 晚上6:17
收件人: "水言子"<1241635403 at qq.com>; 
抄送: "soot-list"; 
主题: Re: [Soot-list] call graph



Hi,

Sorry, I am not familiar with the example "callGraphs" you mentioned.
But if your purpose is to obtain the call graph in Soot, here are some general steps:
1. Enable the -w option on the command line fed to soot.Main
 2. Extend the class soot.SceneTransformer and implement the method internalTransform
3. In the method internalTransform, use Scene.v().getCallGraph() to obtain the call graph.


For more details, you may refer to the survivor guide, especially chapters 4 and 7.
 http://www.brics.dk/SootGuide/sootsurvivorsguide.pdf 


Best,
Cheng

On Thu, Sep 20, 2012 at 5:05 PM, 水言子 <1241635403 at qq.com> wrote:
 hello:
   I am a new to Soot.I want to know how to run the example "callGraphs" in Soot's examples
 file ,using common line!
   Can you help me!
   I need you help!!!
   Thanks!



_______________________________________________
 Soot-list mailing list
 Soot-list at sable.mcgill.ca
 http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20120920/d9cae3b0/attachment-0001.html 


More information about the Soot-list mailing list