Package soot.jimple
Class PointerStmtSwitch
- java.lang.Object
-
- soot.jimple.AbstractStmtSwitch
-
- soot.jimple.PointerStmtSwitch
-
- All Implemented Interfaces:
StmtSwitch,Switch
public abstract class PointerStmtSwitch extends AbstractStmtSwitch
-
-
Constructor Summary
Constructors Constructor Description PointerStmtSwitch()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcaseAnyNewStmt(Local dest, Expr e)Any type of new statement (NewStmt, NewArrayStmt, NewMultiArrayStmt)protected abstract voidcaseArrayLoadStmt(Local dest, ArrayRef src)A statement of the form l1 = l2[i];protected abstract voidcaseArrayStoreStmt(ArrayRef dest, Local src)A statement of the form l1[i] = l2;protected abstract voidcaseAssignConstStmt(Value dest, Constant c)A statement of the form l = constant;voidcaseAssignStmt(AssignStmt s)protected voidcaseCastStmt(Local dest, Local src, CastExpr c)A statement of the form l = (cl) v;protected voidcaseCatchStmt(Local dest, CaughtExceptionRef cer)A catch statementprotected abstract voidcaseCopyStmt(Local dest, Local src)A statement of the form l = v;protected abstract voidcaseGlobalLoadStmt(Local dest, StaticFieldRef src)A statement of the form l = cl.f;protected abstract voidcaseGlobalStoreStmt(StaticFieldRef dest, Local src)A statement of the form cl.f = l;voidcaseIdentityStmt(IdentityStmt s)protected abstract voidcaseIdentityStmt(Local dest, IdentityRef src)An identity statement assigning a parameter to a local.voidcaseInvokeStmt(InvokeStmt s)protected abstract voidcaseInvokeStmt(Local dest, InvokeExpr e)A method invocation.protected abstract voidcaseLoadStmt(Local dest, InstanceFieldRef src)A statement of the form l1 = l2.f;protected voidcaseNewArrayStmt(Local dest, NewArrayExpr e)A newarray statementprotected voidcaseNewMultiArrayStmt(Local dest, NewMultiArrayExpr e)A anewarray statementprotected voidcaseNewStmt(Local dest, NewExpr e)A new statementprotected voidcaseReturnConstStmt(Constant val)A return statement returning a constant.voidcaseReturnStmt(ReturnStmt s)protected abstract voidcaseReturnStmt(Local val)A return statement.voidcaseReturnVoidStmt(ReturnVoidStmt s)protected abstract voidcaseStoreStmt(InstanceFieldRef dest, Local src)A statement of the form l1.f = l2;voidcaseThrowStmt(ThrowStmt s)protected voidcaseThrowStmt(Local thrownException)A throw statementprotected voidcaseUninterestingStmt(Stmt s)Any other statement-
Methods inherited from class soot.jimple.AbstractStmtSwitch
caseBreakpointStmt, caseEnterMonitorStmt, caseExitMonitorStmt, caseGotoStmt, caseIfStmt, caseLookupSwitchStmt, caseNopStmt, caseRetStmt, caseTableSwitchStmt, defaultCase, getResult, setResult
-
-
-
-
Method Detail
-
caseAssignConstStmt
protected abstract void caseAssignConstStmt(Value dest, Constant c)
A statement of the form l = constant;
-
caseCopyStmt
protected abstract void caseCopyStmt(Local dest, Local src)
A statement of the form l = v;
-
caseCastStmt
protected void caseCastStmt(Local dest, Local src, CastExpr c)
A statement of the form l = (cl) v;
-
caseIdentityStmt
protected abstract void caseIdentityStmt(Local dest, IdentityRef src)
An identity statement assigning a parameter to a local.
-
caseLoadStmt
protected abstract void caseLoadStmt(Local dest, InstanceFieldRef src)
A statement of the form l1 = l2.f;
-
caseStoreStmt
protected abstract void caseStoreStmt(InstanceFieldRef dest, Local src)
A statement of the form l1.f = l2;
-
caseArrayLoadStmt
protected abstract void caseArrayLoadStmt(Local dest, ArrayRef src)
A statement of the form l1 = l2[i];
-
caseArrayStoreStmt
protected abstract void caseArrayStoreStmt(ArrayRef dest, Local src)
A statement of the form l1[i] = l2;
-
caseGlobalLoadStmt
protected abstract void caseGlobalLoadStmt(Local dest, StaticFieldRef src)
A statement of the form l = cl.f;
-
caseGlobalStoreStmt
protected abstract void caseGlobalStoreStmt(StaticFieldRef dest, Local src)
A statement of the form cl.f = l;
-
caseReturnStmt
protected abstract void caseReturnStmt(Local val)
A return statement. e is null if a non-reference type is returned.
-
caseReturnConstStmt
protected void caseReturnConstStmt(Constant val)
A return statement returning a constant.
-
caseAnyNewStmt
protected abstract void caseAnyNewStmt(Local dest, Expr e)
Any type of new statement (NewStmt, NewArrayStmt, NewMultiArrayStmt)
-
caseNewArrayStmt
protected void caseNewArrayStmt(Local dest, NewArrayExpr e)
A newarray statement
-
caseNewMultiArrayStmt
protected void caseNewMultiArrayStmt(Local dest, NewMultiArrayExpr e)
A anewarray statement
-
caseInvokeStmt
protected abstract void caseInvokeStmt(Local dest, InvokeExpr e)
A method invocation. dest is null if there is no reference type return value.
-
caseThrowStmt
protected void caseThrowStmt(Local thrownException)
A throw statement
-
caseCatchStmt
protected void caseCatchStmt(Local dest, CaughtExceptionRef cer)
A catch statement
-
caseUninterestingStmt
protected void caseUninterestingStmt(Stmt s)
Any other statement
-
caseAssignStmt
public final void caseAssignStmt(AssignStmt s)
- Specified by:
caseAssignStmtin interfaceStmtSwitch- Overrides:
caseAssignStmtin classAbstractStmtSwitch
-
caseReturnStmt
public final void caseReturnStmt(ReturnStmt s)
- Specified by:
caseReturnStmtin interfaceStmtSwitch- Overrides:
caseReturnStmtin classAbstractStmtSwitch
-
caseReturnVoidStmt
public final void caseReturnVoidStmt(ReturnVoidStmt s)
- Specified by:
caseReturnVoidStmtin interfaceStmtSwitch- Overrides:
caseReturnVoidStmtin classAbstractStmtSwitch
-
caseInvokeStmt
public final void caseInvokeStmt(InvokeStmt s)
- Specified by:
caseInvokeStmtin interfaceStmtSwitch- Overrides:
caseInvokeStmtin classAbstractStmtSwitch
-
caseIdentityStmt
public final void caseIdentityStmt(IdentityStmt s)
- Specified by:
caseIdentityStmtin interfaceStmtSwitch- Overrides:
caseIdentityStmtin classAbstractStmtSwitch
-
caseThrowStmt
public final void caseThrowStmt(ThrowStmt s)
- Specified by:
caseThrowStmtin interfaceStmtSwitch- Overrides:
caseThrowStmtin classAbstractStmtSwitch
-
-