[Soot-list] rta callgraph

Richard L. Halpert richard.halpert at mail.mcgill.ca
Mon Mar 19 14:45:10 EDT 2007


Try this:
PhaseOptions.v().setPhaseOption( "cg.spark", "enabled" );
PhaseOptions.v().setPhaseOption( "cg.spark", "rta" );

-Rich

On 3/19/07, Toth.Gabriella.2 at stud.u-szeged.hu <
Toth.Gabriella.2 at stud.u-szeged.hu> wrote:
>
> Hi!
>
> Thanks, but I can't find Options.v().rta.
> Isn't it soot.options.Options ?
> In which package is Options.v().rta ?
> I tried soot.options in version 2.1 , 2.2 , 2.2.3.
>
> Thanks
>
> Gabi
>
>
>
> Quoting Eric Bodden <eric.bodden at mail.mcgill.ca>:
>
> > 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
>
>
>
> ----------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20070319/082decc9/attachment.htm


More information about the Soot-list mailing list