These two methods allow for subsequent calls of loadNecessaryClasses().
With that it is possible, if the two methods are called before the next loadNecessaryClasses() method call, to load multiple sources into the same Soot Scene.
Example code to load two programs into the same Soot Scene:
// Options setting for the first source here
Scene.v().loadNecessaryClasses();
// Options setting for the second source here
SourceLocator.v().resetCaches();
Scene.v().resetSootClassPathCache();
Scene.v().setResolving(false);
Scene.v().loadNecessaryClasses();
These two methods allow for subsequent calls of
loadNecessaryClasses()
.With that it is possible, if the two methods are called before the next
loadNecessaryClasses()
method call, to load multiple sources into the same Soot Scene.Example code to load two programs into the same Soot Scene: