[Soot-list] Forcing reachability

Ondrej Lhotak olhotak at uwaterloo.ca
Mon Oct 2 10:58:39 EDT 2006


This should work. An alternative that doesn't require modifying Soot
itself would be to write a main class that calls Scene.v().entryPoints()
to get the list of entry points, adds the appropriate methods to the
list, then calls Soot's main method.

On Mon, Oct 02, 2006 at 07:19:47AM -0600, Manu Sridharan wrote:
> Hi,
> 
> Maybe you could change the method soot.Entrypoints.implicit()?  There 
> might be a better way, but I think that will work.  I'm assuming you're 
> in whole-program mode and running call-graph construction.
> 
> -Manu
> 
> Martin Gade Hyldgaard wrote:
> >Hi all
> >
> >I would like to know: is there a way I can tell Soot that a method 
> >foo() is reachable (before analysis), so that foo() and the methods
> >used by foo() will be in Scene.v().getReachableMethods()?
> >
> >-Martin
> >
> >_______________________________________________
> >Soot-list mailing list
> >Soot-list at sable.mcgill.ca
> >http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> 


More information about the Soot-list mailing list