[Soot-list] Re-entrant Soot

Richard Warburton richard.warburton at gmail.com
Mon Feb 14 08:20:25 EST 2011


I was hoping to use soot in a re-entrant manner.  By this I mean
having added in my Analyses once I can call the soot.Main.main method
> 1 times, with different input parameters.  My motivation for doing
this is that I would like to compare two programs in a certain way, by
performing some static analysis over both and comparing the results of
the analysis.  When trying this, however, I seem to get issues
surrounding classes being an application class for one program, but
not for the other.  There are also a lot of singletons in the soot
api, which makes me confused about what the result of
Scene.v().getCallGraph() would return in this scenario as well.  Is
there a way to use soot in a re-entrant manner, or is it better to
just run each analysis in a different jvm and then dump out the
results of the analysis in some file format and then write another
program to compare these?

regards,

  Richard


More information about the Soot-list mailing list