[Soot-list] Calling 'getCallGraph()' during whole program mode

Patrick Lam plam at sable.mcgill.ca
Fri Jul 22 09:30:59 EDT 2011


On 22/07/11 08:04 AM, John Dee wrote:
> Hi there. I was looking for clarification on call graph generation. I
> will be using Soot
> in my M.Sc. dissertation and will need to elucidate something so that my
> write-up makes
> sense.
>
> I was reading the soot survivor's guide and on page 19, is a diagram of
> the additional phases
> in Soot when you put Soot into 'whole program' mode. I see that after
> the 'jb' pack runs for
> each method, the next pack to run is the 'cg' pack, which generates call
> graphs and this information
> is available to all of Soot via the 'Scene' class. My question is this:
>
> Once the cg pack has run, is the information generated from this pack
> only available via a
> scene transformer, using 'wjtp'?

The call graph, once computed, is generally available, e.g. to jtp; it 
runs after cg and wjtp. wjtp will always run if you're creating a call 
graph, though.

pat



More information about the Soot-list mailing list