[Soot-list] Question about generating the Call Graph in Soot

Bernhard Berger berber at tzi.de
Wed May 8 00:52:28 EDT 2013


Hi,

I think that the type of your local variable callGraph does not match the type returned by Scene.v().getCallGraph(). Please check if it is of type soot.jimple.toolkits.callgraph.CallGraph. Otherwise, that is the way to get the calculated call graph in a transformer.

Regards,

Bernhard

Am 08.05.2013 um 02:58 schrieb qinglin Xia <xiaqinglinv5 at gmail.com>:

> Hi, all: 
> Anyone knows how to generate a call graph in soot? 
> I am trying to generate the call graph by giving this statement
> CallGraph callGraph = Scene.v().getCallGraph();
> 
> But it reports an type mismatch error, and says that "cannot convert from soot.jimple.toolkits.callgraph.CallGraph to CallGraph"
> Does anybody here know why the error appears? 
> 
> Thanks & Regards~~!
> -- Lynn
> -- 
> Regards
> Xiaqinglin
> ICS master student @University of California, Irvine
> Please contact me at xiaqinglinv5 at gmail.com
> or 949-394-5811
> _______________________________________________
> 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/20130508/8a5733d5/attachment.html 


More information about the Soot-list mailing list