[Soot-list] [SOOT]how to get the callgraph of a specified method

liujiefeng liujiefeng at huawei.com
Thu Apr 13 03:50:17 EDT 2017


Hi, all

I’ve been using soot to analysis grammar of my code.
And when I get a specified statement or method, how can I get the call graph of this statement or method?

For example,

void foo(int a){
         bar(a);
}
void bar(int a){
         foobar(a);
}
void foobar(int a){
         a++;
}


I know a++ is my target, how can I using soot to get a call graph just like:

foo->bar->foobar ?

Maybe which means how can I do the backward analysis and get the whole call graph?


With best regards,
Jack Lao.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170413/5e98c6f6/attachment.html>


More information about the Soot-list mailing list