Package soot
Class EntryPoints
- java.lang.Object
-
- soot.EntryPoints
-
public class EntryPoints extends Object
Returns the various potential entry points of a Java program.- Author:
- Ondrej Lhotak
-
-
Constructor Summary
Constructors Constructor Description EntryPoints(Singletons.Global g)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddMethod(List<SootMethod> set, String methodSig)protected voidaddMethod(List<SootMethod> set, SootClass cls, NumberedString methodSubSig)List<SootMethod>all()Returns all the entry points.List<SootMethod>allInits()Returns a list of all constructors.List<SootMethod>application()Returns only the application entry points, not including entry points invoked implicitly by the VM.List<SootMethod>clinits()Returns a list of all static initializers.Iterable<SootMethod>clinitsOf(SootClass cl)Returns a list of all clinits of class cl and its superclasses.List<SootMethod>implicit()Returns only the entry points invoked implicitly by the VM.List<SootMethod>inits()Returns a list of all constructors taking no arguments.List<SootMethod>mainsOfApplicationClasses()Returns a list of all concrete main(String[]) methods of all application classes.List<SootMethod>methodsOfApplicationClasses()Returns a list of all concrete methods of all application classes.static EntryPointsv()
-
-
-
Constructor Detail
-
EntryPoints
public EntryPoints(Singletons.Global g)
-
-
Method Detail
-
v
public static EntryPoints v()
-
addMethod
protected void addMethod(List<SootMethod> set, SootClass cls, NumberedString methodSubSig)
-
addMethod
protected void addMethod(List<SootMethod> set, String methodSig)
-
application
public List<SootMethod> application()
Returns only the application entry points, not including entry points invoked implicitly by the VM.
-
implicit
public List<SootMethod> implicit()
Returns only the entry points invoked implicitly by the VM.
-
all
public List<SootMethod> all()
Returns all the entry points.
-
clinits
public List<SootMethod> clinits()
Returns a list of all static initializers.
-
inits
public List<SootMethod> inits()
Returns a list of all constructors taking no arguments.
-
allInits
public List<SootMethod> allInits()
Returns a list of all constructors.
-
methodsOfApplicationClasses
public List<SootMethod> methodsOfApplicationClasses()
Returns a list of all concrete methods of all application classes.
-
mainsOfApplicationClasses
public List<SootMethod> mainsOfApplicationClasses()
Returns a list of all concrete main(String[]) methods of all application classes.
-
clinitsOf
public Iterable<SootMethod> clinitsOf(SootClass cl)
Returns a list of all clinits of class cl and its superclasses.
-
-