[Soot-list] Limiting the scope of Soot?

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Tue Aug 10 07:42:35 EDT 2010


Looks ok to me. Just make sure to set the options *before*
soot.Main.main is called.

Eric

--
Dr. Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt



On 10 August 2010 13:15, Kishen Das <kishen.das at gmail.com> wrote:
> Thank you so much for this feature.
> So, in the program how can we set this?
> Here I want to eliminate all invokes made on java.lang.System package.
> I tried -
>   Options.v.setPhaseOption("cg", "exclude:java.lang.System");
>   Options.v.setPhaseOption("cg", "no-bodies-for-excluded:true");
> Not sure how to correctly set these options.
> Kishen
> On Tue, Aug 10, 2010 at 2:06 AM, Eric Bodden
> <bodden at st.informatik.tu-darmstadt.de> wrote:
>>
>> Morning.
>>
>> > I happened to read the following post on Eric's website:
>> > http://www.bodden.de/2010/06/04/soot-no-jdk/
>>
>> Yes, I was just going to point you to this. Hal,I think this should be
>> the right way to achieve what you are looking for.
>>
>> Eric
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>


More information about the Soot-list mailing list