public abstract class JvmMemoryLocation
extends java.lang.Object
JvmMemoryLocation points at a specific location in a certain state of the Jvm. For
example a JvmStackLocation with index 0 indicates the top of the stack.| Constructor and Description |
|---|
JvmMemoryLocation() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(java.lang.Object obj) |
abstract <T extends AbstractState<T>> |
extractValueOrDefault(JvmAbstractState<T> jvmState,
T defaultValue)
Given a JVM state, extract its content in the position represented by this
JvmMemoryLocation. |
abstract int |
hashCode() |
abstract java.lang.String |
toString() |
public abstract <T extends AbstractState<T>> T extractValueOrDefault(JvmAbstractState<T> jvmState, T defaultValue)
JvmMemoryLocation.T - The type of the states contained in the JVM state. e.g., for taint analysis this
would be a SetAbstractState containing the taints
and for value analysis a ValueAbstractState.jvmState - The state from which the value is extracted.defaultValue - The value returned if it's not possible to extract the value.public abstract boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract java.lang.String toString()
toString in class java.lang.Object