[Soot-list] Trying to get all reachable methods
Manjiri Namjoshi
manjiri.namjoshi at googlemail.com
Thu Aug 14 17:10:47 EDT 2008
Hello,
I am new to call graph and soot.
I am interested to get all Reachable Methods from methodA:
void methodA() {
methodB();
}
void methodB() {
methodC();
}
void methodC() {
}
Iterator edgesListIt = cg.edgesOutOf(sootMethod);
Targets targets = new Targets(edgesListIt);
ReachableMethods reachableMethods = new ReachableMethods(cg,
targets);
QueueReader queueReader = reachableMethods.listener();
sootMethod is methodA and cg is the call graph.
The queueReader is only containing methodB. But, i am interested to get
methodC as well.
Thank You.
Sincerely,
Manjiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20080814/ac4cedad/attachment.htm
More information about the Soot-list
mailing list