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

Patrick Lam plam at sable.mcgill.ca
Fri Jul 22 11:31:11 EDT 2011


On 22/07/11 09:54 AM, John Dee wrote:
> That makes sense Pat, thanks for that.
>
> But on this note, I'm looking at the example for generating a call graph
> in the soot survivor's guide and it comprises:
>
> PackManager.v().getPack("wjtp").add(new Transform(*"wjtp.myTrans"*, new
> SceneTransformer() {
>
> Could you explain to me here, what the "*wjtp.myTrans*"argument is to
> the Transform object in the code snippet above?
> I can't find an answer to this.

That argument is a name. You can use it to distinguish phases. This is 
useful if you need to specify phase options, for instance.

     public Transform(String phaseName, Transformer t)

pat


More information about the Soot-list mailing list