Static analysis of Java call graph
You can use the java-callgraph tool suite to create accurate enough static and dynamic callgraphs for Java.
You can use the java-callgraph tool suite to create accurate enough static and dynamic callgraphs for Java.
This is easy, actually. I’ll give you the bare bones, and you can modify to suit. (gdb) define nstep > set $foo = $arg0 > while ($foo–) > step > end > end (gdb) nstep 100 I’ve done this many times. Hope this helps!
Egypt (free software) ncc KcacheGrind (GPL) Graphviz (CPL) CodeViz (GPL)
static void D() { } static void Y() { D(); } static void X() { Y(); } static void C() { D(); X(); } static void B() { C(); } static void S() { D(); } static void P() { S(); } static void O() { P(); } static void N() { O(); } static … Read more