[Soot-list] Using soot within a javaagent

Eric Bodden eric.bodden at ec-spride.de
Mon Jan 2 05:25:15 EST 2012


Hello.

> Why is it that even after allowing phantom refs soot throws an exception for
> a type not loaded?

I think this has to do with the fact that phantom-refs support was
patched into Soot at a very late stage. Some parts of Soot may still
require (or think they require) information about certain types. I
would have to look into this further to be sure.

But essentially, are you saying that with using
"Scene.v().loadNecessaryClasses();" you are now getting what you want?

Cheers,
Eric


More information about the Soot-list mailing list