|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.Scene
Manages the SootClasses of the application being analyzed.
Constructor Summary | |
Scene(Singletons.Global g)
|
Method Summary | |
void |
addClass(SootClass c)
|
void |
addRefType(RefType type)
Returns the RefType with the given className. |
boolean |
allowsPhantomRefs()
|
boolean |
containsClass(java.lang.String className)
|
boolean |
containsField(java.lang.String fieldSignature)
|
boolean |
containsMethod(java.lang.String methodSignature)
|
Hierarchy |
getActiveHierarchy()
Retrieves the active hierarchy |
Chain |
getApplicationClasses()
Returns a chain of the application classes in this scene. |
CallGraph |
getCallGraph()
|
Chain |
getClasses()
Returns an backed chain of the classes in this manager. |
Numberer |
getClassNumberer()
|
java.util.List |
getEntryPoints()
Get the set of entry points that are used to build the call graph. |
FastHierarchy |
getFastHierarchy()
Retrieves the active fast hierarchy |
SootField |
getField(java.lang.String fieldSignature)
|
Chain |
getLibraryClasses()
Returns a chain of the library classes in this scene. |
Numberer |
getLocalNumberer()
|
SootClass |
getMainClass()
|
SootMethod |
getMethod(java.lang.String methodSignature)
|
Numberer |
getMethodNumberer()
|
FastHierarchy |
getOrMakeFastHierarchy()
Makes a new fast hierarchy is none is active, and returns the active fast hierarchy. |
Chain |
getPhantomClasses()
Returns a chain of the phantom classes in this scene. |
boolean |
getPhantomRefs()
|
PointsToAnalysis |
getPointsToAnalysis()
Retrieves the active pointer analysis |
ReachableMethods |
getReachableMethods()
|
RefType |
getRefType(java.lang.String className)
Returns the RefType with the given className. |
java.util.Set |
getReservedNames()
Returns a set of tokens which are reserved. |
SideEffectAnalysis |
getSideEffectAnalysis()
Retrieves the active side-effect analysis |
SootClass |
getSootClass(java.lang.String className)
Returns the SootClass with the given className. |
java.lang.String |
getSootClassPath()
|
int |
getState()
|
StringNumberer |
getSubSigNumberer()
|
Numberer |
getTypeNumberer()
|
boolean |
hasActiveHierarchy()
|
boolean |
hasCallGraph()
|
boolean |
hasFastHierarchy()
|
boolean |
hasPointsToAnalysis()
|
boolean |
hasReachableMethods()
|
boolean |
hasSideEffectAnalysis()
|
SootClass |
loadClassAndSupport(java.lang.String className)
Loads the given class and all of the required support classes. |
void |
loadNecessaryClasses()
|
java.lang.String |
quotedNameOf(java.lang.String s)
If this name is in the set of reserved names, then return a quoted version of it. |
void |
releaseActiveHierarchy()
|
void |
releaseCallGraph()
|
void |
releaseFastHierarchy()
|
void |
releasePointsToAnalysis()
|
void |
releaseReachableMethods()
|
void |
releaseSideEffectAnalysis()
|
void |
removeClass(SootClass c)
|
void |
setActiveHierarchy(Hierarchy hierarchy)
Sets the active hierarchy |
void |
setCallGraph(CallGraph cg)
|
void |
setEntryPoints(java.util.List entryPoints)
Change the set of entry point methods used to build the call graph. |
void |
setFastHierarchy(FastHierarchy hierarchy)
Sets the active hierarchy |
void |
setMainClass(SootClass m)
|
void |
setPhantomRefs(boolean value)
|
void |
setPointsToAnalysis(PointsToAnalysis pa)
Sets the active pointer analysis |
void |
setReachableMethods(ReachableMethods rm)
|
void |
setSideEffectAnalysis(SideEffectAnalysis sea)
Sets the active side-effect analysis |
void |
setSootClassPath(java.lang.String p)
|
java.lang.String |
signatureToClass(java.lang.String sig)
|
java.lang.String |
signatureToSubsignature(java.lang.String sig)
|
static Scene |
v()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Scene(Singletons.Global g)
Method Detail |
public static Scene v()
public void setMainClass(SootClass m)
public java.util.Set getReservedNames()
public java.lang.String quotedNameOf(java.lang.String s)
public SootClass getMainClass()
public void setSootClassPath(java.lang.String p)
public java.lang.String getSootClassPath()
public int getState()
public void addClass(SootClass c)
public void removeClass(SootClass c)
public boolean containsClass(java.lang.String className)
public java.lang.String signatureToClass(java.lang.String sig)
public java.lang.String signatureToSubsignature(java.lang.String sig)
public boolean containsField(java.lang.String fieldSignature)
public boolean containsMethod(java.lang.String methodSignature)
public SootField getField(java.lang.String fieldSignature)
public SootMethod getMethod(java.lang.String methodSignature)
public SootClass loadClassAndSupport(java.lang.String className)
public RefType getRefType(java.lang.String className)
public void addRefType(RefType type)
public SootClass getSootClass(java.lang.String className)
public Chain getClasses()
public Chain getApplicationClasses()
public Chain getLibraryClasses()
public Chain getPhantomClasses()
public SideEffectAnalysis getSideEffectAnalysis()
public void setSideEffectAnalysis(SideEffectAnalysis sea)
public boolean hasSideEffectAnalysis()
public void releaseSideEffectAnalysis()
public PointsToAnalysis getPointsToAnalysis()
public void setPointsToAnalysis(PointsToAnalysis pa)
public boolean hasPointsToAnalysis()
public void releasePointsToAnalysis()
public FastHierarchy getOrMakeFastHierarchy()
public FastHierarchy getFastHierarchy()
public void setFastHierarchy(FastHierarchy hierarchy)
public boolean hasFastHierarchy()
public void releaseFastHierarchy()
public Hierarchy getActiveHierarchy()
public void setActiveHierarchy(Hierarchy hierarchy)
public boolean hasActiveHierarchy()
public void releaseActiveHierarchy()
public java.util.List getEntryPoints()
public void setEntryPoints(java.util.List entryPoints)
public CallGraph getCallGraph()
public void setCallGraph(CallGraph cg)
public boolean hasCallGraph()
public void releaseCallGraph()
public ReachableMethods getReachableMethods()
public void setReachableMethods(ReachableMethods rm)
public boolean hasReachableMethods()
public void releaseReachableMethods()
public boolean getPhantomRefs()
public void setPhantomRefs(boolean value)
public boolean allowsPhantomRefs()
public Numberer getTypeNumberer()
public Numberer getMethodNumberer()
public Numberer getClassNumberer()
public StringNumberer getSubSigNumberer()
public Numberer getLocalNumberer()
public void loadNecessaryClasses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |