|
|||||||||
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.
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)
|
Hierarchy |
getActiveHierarchy()
Retrieves the active hierarchy for this method. |
InvokeGraph |
getActiveInvokeGraph()
Retrieves the active invokeGraph for this method. |
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. |
SootClass |
getMainClass()
|
SootMethod |
getMethod(java.lang.String methodSignature)
|
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 |
hasActiveHierarchy()
|
boolean |
hasActiveInvokeGraph()
|
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 |
releaseActiveHierarchy()
|
void |
releaseActiveInvokeGraph()
|
void |
removeClass(SootClass c)
|
void |
reset()
Resets this scene to zero. |
void |
setActiveHierarchy(Hierarchy hierarchy)
Sets the active hierarchy for this method. |
void |
setActiveInvokeGraph(InvokeGraph invokeGraph)
Sets the active invokeGraph for this method. |
void |
setJimpleStmtPrinter(StmtPrinter jsp)
Sets the current StmtPrinter class for Jimple. |
void |
setLazyResolving(boolean value)
|
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 void setJimpleStmtPrinter(StmtPrinter jsp)
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 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 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |