[Soot-list] rta callgraph

Toth.Gabriella.2 at stud.u-szeged.hu Toth.Gabriella.2 at stud.u-szeged.hu
Mon Mar 19 14:00:59 EDT 2007


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.



More information about the Soot-list mailing list