[Soot-list] Resolving Level Problem

Patrick Lam plam at cs.mcgill.ca
Tue Oct 12 21:43:38 EDT 2010


On 10/12/10 21:41, Asif Iqbal wrote:
> Hi all,
>
> I am using Soot from my own java application and I have the following
> code segment:
>
> */import soot.*;/*
> */.../*
> *...*
> */String[] args = {"-f", "xml", "Audio"}; // I have a class called Audio/*
> */Main.main(args);/*
> */args[2] = "Location"; // Another class called Location/*
> */Main.main(args);/*

If you want to call main() twice, you should call G.v().reset() in 
between, or you're going to run into strange problems like the one you 
describe.

pat


More information about the Soot-list mailing list