|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.Scene
Manages the SootClasses of the application being analyzed.
Method Summary | |
void |
addClass(SootClass c)
|
boolean |
allowsLazyResolving()
|
boolean |
allowsPhantomRefs()
|
java.util.Map |
computePhaseOptions(java.lang.String phaseName,
java.lang.String optionsString)
|
boolean |
containsClass(java.lang.String className)
|
boolean |
containsField(java.lang.String fieldSignature)
|
boolean |
containsMethod(java.lang.String methodSignature)
|
SootMethod |
forceGetMethod(java.lang.String methodSignature)
|
FastHierarchy |
getActiveFastHierarchy()
Retrieves the active fast hierarchy |
Hierarchy |
getActiveHierarchy()
Retrieves the active hierarchy |
InvokeGraph |
getActiveInvokeGraph()
Retrieves the active invokeGraph for this method. |
PointsToAnalysis |
getActivePointsToAnalysis()
Retrieves the active pointer analysis |
soot.jimple.toolkits.pointer.SideEffectAnalysis |
getActiveSideEffectAnalysis()
Retrieves the active side-effect analysis |
Chain |
getApplicationClasses()
Returns a chain of the application classes in this scene. |
Chain |
getClasses()
Returns an backed chain of the classes in this manager. |
Chain |
getContextClasses()
Returns a chain of the context classes in this scene. |
SootField |
getField(java.lang.String fieldSignature)
|
StmtPrinter |
getJimpleStmtPrinter()
Returns the current StmtPrinter class for Jimple. |
Chain |
getLibraryClasses()
Returns a chain of the library classes in this scene. |
LocalPrinter |
getLocalPrinter()
|
SootClass |
getMainClass()
|
SootMethod |
getMethod(java.lang.String methodSignature)
|
FastHierarchy |
getOrMakeFastHierarchy()
Makes a new fast hierarchy is none is active, and returns the active fast hierarchy. |
Pack |
getPack(java.lang.String phaseName)
|
Chain |
getPhantomClasses()
Returns a chain of the phantom classes in this scene. |
boolean |
getPhantomRefs()
|
java.util.Map |
getPhaseOptions(java.lang.String phaseName)
Returns the options map associated with phaseName. |
java.util.Set |
getReservedNames()
Returns a set of tokens which are reserved. |
SootClass |
getSootClass(java.lang.String className)
Returns the SootClass with the given className. |
java.lang.String |
getSootClassPath()
|
int |
getState()
|
boolean |
hasActiveFastHierarchy()
|
boolean |
hasActiveHierarchy()
|
boolean |
hasActiveInvokeGraph()
|
boolean |
hasActivePointsToAnalysis()
|
boolean |
hasActiveSideEffectAnalysis()
|
SootClass |
loadClassAndSupport(java.lang.String className)
Loads the given class and all of the required support classes. |
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 |
releaseActiveFastHierarchy()
|
void |
releaseActiveHierarchy()
|
void |
releaseActiveInvokeGraph()
|
void |
releaseActivePointsToAnalysis()
|
void |
releaseActiveSideEffectAnalysis()
|
void |
removeClass(SootClass c)
|
void |
reset()
Resets this scene to zero. |
void |
setActiveFastHierarchy(FastHierarchy hierarchy)
Sets the active hierarchy |
void |
setActiveHierarchy(Hierarchy hierarchy)
Sets the active hierarchy |
void |
setActiveInvokeGraph(InvokeGraph invokeGraph)
Sets the active invokeGraph for this method. |
void |
setActivePointsToAnalysis(PointsToAnalysis pa)
Sets the active pointer analysis |
void |
setActiveSideEffectAnalysis(soot.jimple.toolkits.pointer.SideEffectAnalysis sea)
Sets the active side-effect analysis |
void |
setJimpleStmtPrinter(StmtPrinter jsp)
Sets the current StmtPrinter class for Jimple. |
void |
setLazyResolving(boolean value)
|
void |
setLocalPrinter(LocalPrinter lp)
|
void |
setMainClass(SootClass m)
|
void |
setPhantomRefs(boolean value)
|
void |
setSootClassPath(java.lang.String p)
|
static Scene |
v()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void reset()
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 Pack getPack(java.lang.String phaseName)
public int getState()
public java.util.Map getPhaseOptions(java.lang.String phaseName)
public java.util.Map computePhaseOptions(java.lang.String phaseName, java.lang.String optionsString)
public StmtPrinter getJimpleStmtPrinter()
public LocalPrinter getLocalPrinter()
public void setJimpleStmtPrinter(StmtPrinter jsp)
public void setLocalPrinter(LocalPrinter lp)
public void addClass(SootClass c)
public void removeClass(SootClass c)
public boolean containsClass(java.lang.String className)
public boolean containsField(java.lang.String fieldSignature)
public boolean containsMethod(java.lang.String methodSignature)
public SootField getField(java.lang.String fieldSignature)
public SootMethod forceGetMethod(java.lang.String methodSignature)
public SootMethod getMethod(java.lang.String methodSignature)
public SootClass loadClassAndSupport(java.lang.String className)
public SootClass getSootClass(java.lang.String className)
public Chain getClasses()
public Chain getApplicationClasses()
public Chain getLibraryClasses()
public Chain getContextClasses()
public Chain getPhantomClasses()
public soot.jimple.toolkits.pointer.SideEffectAnalysis getActiveSideEffectAnalysis()
public void setActiveSideEffectAnalysis(soot.jimple.toolkits.pointer.SideEffectAnalysis sea)
public boolean hasActiveSideEffectAnalysis()
public void releaseActiveSideEffectAnalysis()
public PointsToAnalysis getActivePointsToAnalysis()
public void setActivePointsToAnalysis(PointsToAnalysis pa)
public boolean hasActivePointsToAnalysis()
public void releaseActivePointsToAnalysis()
public FastHierarchy getOrMakeFastHierarchy()
public FastHierarchy getActiveFastHierarchy()
public void setActiveFastHierarchy(FastHierarchy hierarchy)
public boolean hasActiveFastHierarchy()
public void releaseActiveFastHierarchy()
public Hierarchy getActiveHierarchy()
public void setActiveHierarchy(Hierarchy hierarchy)
public boolean hasActiveHierarchy()
public void releaseActiveHierarchy()
public InvokeGraph getActiveInvokeGraph()
public void setActiveInvokeGraph(InvokeGraph invokeGraph)
public boolean hasActiveInvokeGraph()
public void releaseActiveInvokeGraph()
public boolean getPhantomRefs()
public void setPhantomRefs(boolean value)
public void setLazyResolving(boolean value)
public boolean allowsPhantomRefs()
public boolean allowsLazyResolving()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |