public class WALAVal extends Val
| Modifier and Type | Class and Description |
|---|---|
static class |
WALAVal.OP |
| Modifier and Type | Field and Description |
|---|---|
protected WALAMethod |
method |
m, unbalancedStmt| Constructor and Description |
|---|
WALAVal(int programCounter,
WALAMethod method) |
WALAVal(int programCounter,
WALAMethod method,
ControlFlowGraph.Edge unbalanced) |
WALAVal(com.ibm.wala.classLoader.NewSiteReference newSite,
WALAMethod method) |
WALAVal(com.ibm.wala.classLoader.NewSiteReference newSite,
WALAMethod method,
ControlFlowGraph.Edge unbalanced)
WALAVal representing a new allocation site statement
|
WALAVal(com.ibm.wala.ssa.SSAInstruction delegate,
WALAVal.OP op,
WALAMethod method) |
WALAVal(com.ibm.wala.ssa.SSAInstruction delegate,
WALAVal.OP op,
WALAMethod method,
ControlFlowGraph.Edge unbalanced)
Dummy WALAVal to represent right hand side of any instruction for instance of a phi val or of
an assining call statement.
|
| Modifier and Type | Method and Description |
|---|---|
Val |
asUnbalanced(ControlFlowGraph.Edge stmt) |
boolean |
equals(Object obj) |
Pair<Val,Integer> |
getArrayBase() |
Val |
getCastOp() |
Type |
getClassConstantType() |
Val |
getInstanceOfOp() |
int |
getIntValue() |
Val |
getLengthOp() |
long |
getLongValue() |
Type |
getNewExprType() |
String |
getStringValue() |
Type |
getType() |
String |
getVariableName() |
int |
hashCode() |
boolean |
isArrayAllocationVal() |
boolean |
isArrayRef() |
boolean |
isCast() |
boolean |
isClassConstant() |
boolean |
isInstanceOfExpr() |
boolean |
isIntConstant() |
boolean |
isLengthExpr() |
boolean |
isLocal() |
boolean |
isLongConstant() |
boolean |
isNewExpr() |
boolean |
isNull() |
boolean |
isStatic() |
boolean |
isStringBufferOrBuilder() |
boolean |
isStringConstant() |
boolean |
isThrowableAllocationType() |
String |
toString() |
Val |
withNewMethod(Method callee) |
isConstant, isParameterLocal, isReturnLocal, isThisLocal, isUnbalanced, m, withSecondVal, zeroprotected final WALAMethod method
public WALAVal(int programCounter,
WALAMethod method)
public WALAVal(int programCounter,
WALAMethod method,
ControlFlowGraph.Edge unbalanced)
public WALAVal(com.ibm.wala.classLoader.NewSiteReference newSite,
WALAMethod method,
ControlFlowGraph.Edge unbalanced)
newSite - method - public WALAVal(com.ibm.wala.classLoader.NewSiteReference newSite,
WALAMethod method)
public WALAVal(com.ibm.wala.ssa.SSAInstruction delegate,
WALAVal.OP op,
WALAMethod method,
ControlFlowGraph.Edge unbalanced)
delegate - method - public WALAVal(com.ibm.wala.ssa.SSAInstruction delegate,
WALAVal.OP op,
WALAMethod method)
public Type getNewExprType()
getNewExprType in class Valpublic Val asUnbalanced(ControlFlowGraph.Edge stmt)
asUnbalanced in class Valpublic boolean isArrayAllocationVal()
isArrayAllocationVal in class Valpublic boolean isStringConstant()
isStringConstant in class Valpublic String getStringValue()
getStringValue in class Valpublic boolean isStringBufferOrBuilder()
isStringBufferOrBuilder in class Valpublic boolean isThrowableAllocationType()
isThrowableAllocationType in class Valpublic boolean isArrayRef()
isArrayRef in class Valpublic boolean isInstanceOfExpr()
isInstanceOfExpr in class Valpublic Val getInstanceOfOp()
getInstanceOfOp in class Valpublic boolean isLengthExpr()
isLengthExpr in class Valpublic Val getLengthOp()
getLengthOp in class Valpublic boolean isIntConstant()
isIntConstant in class Valpublic boolean isClassConstant()
isClassConstant in class Valpublic Type getClassConstantType()
getClassConstantType in class Valpublic Val withNewMethod(Method callee)
withNewMethod in class Valpublic boolean isLongConstant()
isLongConstant in class Valpublic int getIntValue()
getIntValue in class Valpublic long getLongValue()
getLongValue in class Valpublic Pair<Val,Integer> getArrayBase()
getArrayBase in class Valpublic String getVariableName()
getVariableName in class ValCopyright © 2024. All rights reserved.