[Soot-list] implementing scene tranform

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Wed Mar 2 02:51:04 EST 2011


Hello.

First get rid of those lines, they are unnecessary:

    PackManager.v().getPack("wjtp").apply();
PhaseOptions.v().setPhaseOption("wjtp.tn", "enabled:true");
PhaseOptions.v().setPhaseOption("wjtp.tn", "do-mhp:true");

Then next make sure that "args" contains the -w option.

One way to do this is to just pass -w to your Main class on the
command line. Another option would be to convert "args" into a list,
add a string "-w" to the list, then convert the list back to an array
and pass that array to soot.Main.main(..).

Eric

On 1 March 2011 22:30, suraj kath <surajkath108 at gmail.com> wrote:
> could u please tell me what is wrong with following code
>
>
> i am just truying to use wjtp phase
> and scene transform
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>



-- 
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED
Coordinator of the CASED Advisory Board of Study Affairs
PostDoc at Software Technology Group, Technische Universität Darmstadt
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt


More information about the Soot-list mailing list