[Soot-list] Any way to get a local (1-level) call graph?

Sai Zhang racezhang at gmail.com
Wed Jan 20 15:53:29 EST 2010


Hi all:

I am wondering if there is any way to get a local call graph in Soot,
without using the "-w" mode and a main entry?

Take the following code as an example:

m() {
  m1();
  m2();
}

m1() {
  m1'();
  ...
}

I just want a simple local call graph containing edges:
m() -> m1() (and all m1's overriden methods)
m() -> m2()  (and all m2's overriden methods)

Thought that should not be hard to implement oneself, if there is some
built-in functions in Soot to achieve that goal, it will be great!

Thanks.



-- Sai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100120/0d0f2468/attachment.html 


More information about the Soot-list mailing list