[Soot-list] rta callgraph

Eric Bodden eric.bodden at mail.mcgill.ca
Mon Mar 19 11:17:05 EDT 2007


Hi.

I think the easiest way to get this right is to set the phase options
and then trigger the "cg" phase. So you would do something along those
lines...

Options.v().rta=true;
PackManager.v().getPack("cg").apply();
//wait a while...
CallGraph cg = Scene.v().getCallGraph();

Eric

On 19/03/07, Toth.Gabriella.2 at stud.u-szeged.hu
<Toth.Gabriella.2 at stud.u-szeged.hu> wrote:
> Hi!
>
> I would like to retrieve a rta callgraph.
> I tried:
> HashMap opt = new HashMap();
> opt.put("rta","true");
> SparkTransformer.v().transform("",opt);
> CallGraphBuilder cgb = new CallGraphBuilder();
> cgb.build();
> cg = cgb.getCallGraph();
>
> But the callgraph was the same as if I use these rows:
>
> CallGraphBuilder cgb = new CallGraphBuilder();
> cgb.build();
> cg = cgb.getCallGraph();
>
>
> How could I retrieve rta callgraph?
>
> Thanks
> Gabi
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list