public class JvmBasicTaintTreeHeapFollowerAbstractState extends JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>> implements JvmTaintHeapAbstractState
JvmTreeHeapFollowerAbstractState without object tainting.principaldefaultValue, heapMapAbstractStateFactory, heapNodeMapAbstractStateFactory, referenceToObject| Constructor and Description |
|---|
JvmBasicTaintTreeHeapFollowerAbstractState(JvmReferenceAbstractState principal,
SetAbstractState<JvmTaintSource> defaultValue,
MapAbstractState<Reference,HeapNode<SetAbstractState<JvmTaintSource>>> referenceToNode,
MapAbstractStateFactory<Reference,HeapNode<SetAbstractState<JvmTaintSource>>> heapMapAbstractStateFactory,
MapAbstractStateFactory<java.lang.String,SetAbstractState<JvmTaintSource>> objectMapAbstractStateFactory)
Create a taint follower heap abstract state.
|
| Modifier and Type | Method and Description |
|---|---|
JvmBasicTaintTreeHeapFollowerAbstractState |
copy()
Creates a copy of itself.
|
JvmBasicTaintTreeHeapFollowerAbstractState |
join(JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> abstractState)
Computes a join over itself and the
abstractState. |
<T> void |
taintObject(T object,
SetAbstractState<JvmTaintSource> value)
Transitively applies the taint
value to the object. |
getArrayElementOrDefault, getFieldOrDefault, getReferenceAbstractState, newArray, newObject, reduce, setArrayElement, setField, setPrincipalStateassignField, equals, expand, getArrayElementOrDefault, getField, getHeapNode, hashCode, isLessOrEqual, mergeField, setArrayElement, setFieldclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitnewObjectisLessgetPrecision, getStateByNamepublic JvmBasicTaintTreeHeapFollowerAbstractState(JvmReferenceAbstractState principal, SetAbstractState<JvmTaintSource> defaultValue, MapAbstractState<Reference,HeapNode<SetAbstractState<JvmTaintSource>>> referenceToNode, MapAbstractStateFactory<Reference,HeapNode<SetAbstractState<JvmTaintSource>>> heapMapAbstractStateFactory, MapAbstractStateFactory<java.lang.String,SetAbstractState<JvmTaintSource>> objectMapAbstractStateFactory)
principal - the principal heap abstract state containing reference abstract statesdefaultValue - the default value representing unknown valuesreferenceToNode - the mapping from references to heap nodesheapMapAbstractStateFactory - a map abstract state factory used for constructing the mapping from references to objectsobjectMapAbstractStateFactory - a map abstract state factory used for constructing the mapping from fields to valuespublic <T> void taintObject(T object,
SetAbstractState<JvmTaintSource> value)
JvmTaintHeapAbstractStatevalue to the object.taintObject in interface JvmTaintHeapAbstractStatepublic JvmBasicTaintTreeHeapFollowerAbstractState join(JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> abstractState)
LatticeAbstractStateabstractState.join in interface LatticeAbstractState<JvmHeapAbstractState<SetAbstractState<JvmTaintSource>>>join in class JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>>public JvmBasicTaintTreeHeapFollowerAbstractState copy()
AbstractStatecopy in interface AbstractStatecopy in interface JvmHeapAbstractState<SetAbstractState<JvmTaintSource>>copy in class JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>>