public class JvmBasicTaintTreeHeapFollowerAbstractState extends JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>> implements JvmTaintHeapAbstractState
JvmTreeHeapFollowerAbstractState
without object tainting.principal
defaultValue, 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, setPrincipalState
assignField, equals, expand, getArrayElementOrDefault, getField, getHeapNode, hashCode, isLessOrEqual, mergeField, setArrayElement, setField
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
newObject
isLess
getPrecision, getStateByName
public 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)
JvmTaintHeapAbstractState
value
to the object
.taintObject
in interface JvmTaintHeapAbstractState
public JvmBasicTaintTreeHeapFollowerAbstractState join(JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> abstractState)
LatticeAbstractState
abstractState
.join
in interface LatticeAbstractState<JvmHeapAbstractState<SetAbstractState<JvmTaintSource>>>
join
in class JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>>
public JvmBasicTaintTreeHeapFollowerAbstractState copy()
AbstractState
copy
in interface AbstractState
copy
in interface JvmHeapAbstractState<SetAbstractState<JvmTaintSource>>
copy
in class JvmTreeHeapFollowerAbstractState<SetAbstractState<JvmTaintSource>>