[Soot-list] callgraph
Toth.Gabriella.2 at stud.u-szeged.hu
Toth.Gabriella.2 at stud.u-szeged.hu
Wed Feb 14 05:35:29 EST 2007
Hi!
I have this example:
class A {
int id=0;
public int getId() {return this.id;}
public String toSting() {
return "";}
}
class B extends A{
public String toString() { return "id "+getId();}
}
public class C {
public static void main(String[] args) {
A a=new B();
System.out.println(a);
}
}
I created a callgraph:
CallGraphBuilder cgb = new CallGraphBuilder();
cgb.build();
cg = cgb.getCallGraph();
and there isn't any edge between C.main and B.toString.
How can I retrieve this edge?
Thanks
Gabi
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Soot-list
mailing list