|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.jimple.AbstractJimpleValueSwitch | +--soot.jimple.spark.builder.StandardParms
Class implementing builder parameters (this decides what kinds of nodes should be built for each kind of Soot value).
Field Summary | |
protected SootMethod |
currentMethod
|
protected MethodPAG |
mpag
|
protected PAG |
pag
|
Constructor Summary | |
StandardParms(PAG pag,
MethodPAG mpag)
|
Method Summary | |
void |
addCallTarget(Edge e)
Adds a possible target of a call site. |
void |
addCallTarget(Stmt s,
SootMethod target,
java.lang.Object varNodeParameter)
Adds method target as a possible target of the invoke expression in s. |
void |
addEdge(Node from,
Node to)
Add an edge from node from to node to. |
Node |
caseArgv()
Node for the argv array parameter to main. |
Node |
caseArray(java.lang.Object base,
ArrayType arrayType)
Node for elements of array base of type arrayType. |
void |
caseArrayRef(ArrayRef ar)
|
void |
caseCastExpr(CastExpr ce)
|
void |
caseCaughtExceptionRef(CaughtExceptionRef cer)
|
Node |
caseDefaultClassLoader()
Node for the default ClassLoader, created by the VM. |
void |
caseInstanceFieldRef(InstanceFieldRef ifr)
|
void |
caseLocal(Local l)
|
Node |
caseMainClassNameString()
Node for the String holding the name of the main class, created by the VM and passed to the class loader. |
Node |
caseMainThread()
Node for the main thread of the program, created by the VM. |
Node |
caseMainThreadGroup()
Node for the main ThreadGroup of the program, created by the VM. |
void |
caseNewArrayExpr(NewArrayExpr nae)
|
void |
caseNewExpr(NewExpr ne)
|
void |
caseNewMultiArrayExpr(NewMultiArrayExpr nmae)
|
void |
caseNullConstant(NullConstant nr)
|
void |
caseParameterRef(ParameterRef pr)
|
Node |
caseParm(SootMethod m,
int index)
Node for index'th parameter of method m. |
Node |
caseRet(SootMethod m)
Return node for method m. |
void |
caseStaticFieldRef(StaticFieldRef sfr)
|
void |
caseStringConstant(StringConstant sc)
|
Node |
caseThis(SootMethod m)
This node for method m. |
void |
caseThisRef(ThisRef tr)
|
protected Node |
caseThrow()
|
void |
defaultCase(java.lang.Object v)
|
Node |
getNode()
|
void |
handleStmt(Stmt s)
Adds the edges required for this statement to the graph. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected PAG pag
protected MethodPAG mpag
protected SootMethod currentMethod
Constructor Detail |
public StandardParms(PAG pag, MethodPAG mpag)
Method Detail |
public final void addCallTarget(Edge e)
public final void addCallTarget(Stmt s, SootMethod target, java.lang.Object varNodeParameter)
public final void handleStmt(Stmt s)
public final Node getNode()
public final void addEdge(Node from, Node to)
public final Node caseDefaultClassLoader()
public final Node caseMainClassNameString()
public final Node caseMainThreadGroup()
public final Node caseMainThread()
public final Node caseArgv()
public final Node caseThis(SootMethod m)
public final Node caseParm(SootMethod m, int index)
public final Node caseRet(SootMethod m)
public final Node caseArray(java.lang.Object base, ArrayType arrayType)
public final void caseArrayRef(ArrayRef ar)
public final void caseCastExpr(CastExpr ce)
public final void caseCaughtExceptionRef(CaughtExceptionRef cer)
public final void caseInstanceFieldRef(InstanceFieldRef ifr)
public final void caseLocal(Local l)
public final void caseNewArrayExpr(NewArrayExpr nae)
public final void caseNewExpr(NewExpr ne)
public final void caseNewMultiArrayExpr(NewMultiArrayExpr nmae)
public final void caseParameterRef(ParameterRef pr)
public final void caseStaticFieldRef(StaticFieldRef sfr)
public final void caseStringConstant(StringConstant sc)
public final void caseThisRef(ThisRef tr)
public final void caseNullConstant(NullConstant nr)
public final void defaultCase(java.lang.Object v)
protected Node caseThrow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |