Method Summary |
|
public void | addBasicClass(String name) |
public void | addBasicClass(String name, int level) |
public void | addClass(SootClass c) |
public void | addRefType(RefType type) Returns the RefType with the given className. |
public boolean | allowsPhantomRefs() |
public boolean | containsClass(String className) |
public boolean | containsField(String fieldSignature) |
public boolean | containsMethod(String methodSignature) |
public String | defaultClassPath() |
public boolean | doneResolving() |
public Collection<SootClass> | dynamicClasses() |
public Hierarchy | getActiveHierarchy() |
public Chain<SootClass> | getApplicationClasses() Returns a chain of the application classes in this scene. |
public CallGraph | getCallGraph() |
public ArrayNumberer | getClassNumberer() |
public Chain<SootClass> | getClasses() Returns an backed chain of the classes in this manager. |
public List/*SootClass*/<SootClass> | getClasses(int desiredLevel) Returns the list of SootClasses that have been resolved at least to
the level specified. |
Chain<SootClass> | getContainingChain(SootClass c) |
public Numberer | getContextNumberer() |
public ContextSensitiveCallGraph | getContextSensitiveCallGraph() |
public ThrowAnalysis | getDefaultThrowAnalysis() Returns the
ThrowAnalysis to be used by default when
constructing CFGs which include exceptional control flow. |
public List<SootMethod> | getEntryPoints() Get the set of entry points that are used to build the call graph. |
public FastHierarchy | getFastHierarchy() |
public SootField | getField(String fieldSignature) |
public ArrayNumberer | getFieldNumberer() |
public Chain<SootClass> | getLibraryClasses() Returns a chain of the library classes in this scene. |
public ArrayNumberer | getLocalNumberer() |
public SootClass | getMainClass() |
public SootMethod | getMainMethod() |
public SootMethod | getMethod(String methodSignature) |
public ArrayNumberer | getMethodNumberer() |
public FastHierarchy | getOrMakeFastHierarchy() Makes a new fast hierarchy is none is active, and returns the active
fast hierarchy. |
public Chain<SootClass> | getPhantomClasses() Returns a chain of the phantom classes in this scene. |
public boolean | getPhantomRefs() |
public ArrayList<String> | getPkgList() |
public PointsToAnalysis | getPointsToAnalysis() |
public ReachableMethods | getReachableMethods() |
public RefType | getRefType(String className) Returns the RefType with the given className. |
public Set<String> | getReservedNames() Returns a set of tokens which are reserved. |
public SideEffectAnalysis | getSideEffectAnalysis() |
public SootClass | getSootClass(String className) Returns the SootClass with the given className. |
public String | getSootClassPath() |
public int | getState() |
public StringNumberer | getSubSigNumberer() |
public ArrayNumberer | getTypeNumberer() |
public Numberer | getUnitNumberer() |
public boolean | hasActiveHierarchy() |
public boolean | hasCallGraph() |
public boolean | hasFastHierarchy() |
public boolean | hasPointsToAnalysis() |
public boolean | hasReachableMethods() |
public boolean | hasSideEffectAnalysis() |
public Numberer | kindNumberer() |
public void | loadBasicClasses() Load just the set of basic classes soot needs, ignoring those
specified on the command-line. |
public SootClass | loadClass(String className, int desiredLevel) |
public SootClass | loadClassAndSupport(String className) Loads the given class and all of the required support classes. |
public void | loadDynamicClasses() |
public void | loadNecessaryClasses() Load the set of classes that soot needs, including those specified on the
command-line. |
public SootMethodRef | makeConstructorRef(SootClass declaringClass, List<Type> parameterTypes) Create an unresolved reference to a constructor. |
public SootFieldRef | makeFieldRef(SootClass declaringClass, String name, Type type, boolean isStatic) Create an unresolved reference to a field. |
public SootMethodRef | makeMethodRef(SootClass declaringClass, String name, List<Type> parameterTypes, Type returnType, boolean isStatic) Create an unresolved reference to a method. |
public String | quotedNameOf(String s) If this name is in the set of reserved names, then return a quoted version of it. |
public void | releaseActiveHierarchy() |
public void | releaseCallGraph() |
public void | releaseFastHierarchy() |
public void | releasePointsToAnalysis() |
public void | releaseReachableMethods() |
public void | releaseSideEffectAnalysis() |
public void | removeClass(SootClass c) |
public void | setActiveHierarchy(Hierarchy hierarchy) |
public void | setCallGraph(CallGraph cg) |
public void | setContextNumberer(Numberer n) |
public void | setContextSensitiveCallGraph(ContextSensitiveCallGraph cscg) |
public void | setDefaultThrowAnalysis(ThrowAnalysis ta) Sets the
ThrowAnalysis to be used by default when
constructing CFGs which include exceptional control flow. |
public void | setDoneResolving() |
public void | setEntryPoints(List<SootMethod> entryPoints) Change the set of entry point methods used to build the call graph. |
public void | setFastHierarchy(FastHierarchy hierarchy) |
public void | setMainClass(SootClass m) |
public void | setMainClassFromOptions() |
public void | setPhantomRefs(boolean value) |
public void | setPkgList(ArrayList<String> list) |
public void | setPointsToAnalysis(PointsToAnalysis pa) |
public void | setReachableMethods(ReachableMethods rm) |
public void | setSideEffectAnalysis(SideEffectAnalysis sea) |
public void | setSootClassPath(String p) |
public String | signatureToClass(String sig) |
public String | signatureToSubsignature(String sig) |
public SootClass | tryLoadClass(String className, int desiredLevel) Attempts to load the given class and all of the required support classes. |
public static Scene | v() |