[Soot-list] Disable output for certain app classes

Patrick Lam plam at sable.mcgill.ca
Wed May 13 19:33:46 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mario Mendez-Lojo wrote:
> I found an alternative, which would be to run Soot twice: if the first pass, we 
> discover which classes are really needed, and a second one that receives those 
> as application classes. In this way, we save time by not even bringing them to 
> memory.
> 
> However, invoking Main.main(args) twice (within the same execution) results on 
> all kinds of errors because the state is not reset prior to the second 
> execution. Is there any way to safely reset the state of Soot so I can run it 
> twice within the same program? Output to a file the 1st and then restart the JVM 
>   is not an option, since it would be too slow

G.v().reset().

pat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoLWNoACgkQNTVxnNGEyOjxawCfRpQH2KjIPqcOKRnfAIojAH7T
ZssAoJKQFrJu9rngkmFxPLnHnOtNDGOr
=Y5dM
-----END PGP SIGNATURE-----


More information about the Soot-list mailing list