public class JvmHeapLocation extends JvmMemoryLocation
JvmHeapLocation is a memory location corresponding to a dynamic memory entity.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
field |
SetAbstractState<Reference> |
reference |
| Constructor and Description |
|---|
JvmHeapLocation(SetAbstractState<Reference> reference,
java.lang.String field)
Create a heap location.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
<T extends LatticeAbstractState> |
extractValueOrDefault(JvmAbstractState abstractState,
T defaultValue)
Returns an
AbstractState representing value stored at the MemoryLocation in the input AbstractState. |
int |
hashCode() |
java.lang.String |
toString() |
public final SetAbstractState<Reference> reference
public final java.lang.String field
public JvmHeapLocation(SetAbstractState<Reference> reference, java.lang.String field)
reference - a reference to dynamic memorypublic <T extends LatticeAbstractState> T extractValueOrDefault(JvmAbstractState abstractState, T defaultValue)
MemoryLocationAbstractState representing value stored at the MemoryLocation in the input AbstractState.
If the AbstractState does not specify a ValueT at the MemoryLocation, the default value is returned.extractValueOrDefault in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public boolean equals(java.lang.Object obj)
equals in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public int hashCode()
hashCode in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>public java.lang.String toString()
toString in class MemoryLocation<JvmCfaNode,JvmCfaEdge,MethodSignature,LatticeAbstractState,JvmAbstractState>