public class JvmTaintReduceOperator extends JvmDefaultReduceOperator<SetAbstractState<JvmTaintSource>>
ReduceOperator
inherits all the functionalities of a
JvmDefaultReduceOperator
and adjusts the return type to be the JvmTaintAbstractState
.Constructor and Description |
---|
JvmTaintReduceOperator(boolean reduceHeap)
Create the taint reduce operator for the JVM.
|
JvmTaintReduceOperator(boolean reduceHeap,
java.util.Map<Signature,java.util.Set<JvmTaintSource>> taintSources)
Create the taint reduce operator for the JVM.
|
Modifier and Type | Method and Description |
---|---|
JvmTaintAbstractState |
createJvmAbstractState(JvmCfaNode programLocation,
JvmFrameAbstractState<SetAbstractState<JvmTaintSource>> frame,
JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> heap,
MapAbstractState<java.lang.String,SetAbstractState<JvmTaintSource>> staticFields)
Returns an instance of JvmAbstractState.
|
AbstractState |
onMethodEntry(AbstractState reducedState,
boolean isCallStatic)
Performs additional operations on the reduced state (i.e.
|
reduceHeap, reduceImpl, reduceStaticFields
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reduce
public JvmTaintReduceOperator(boolean reduceHeap)
reduceHeap
- whether reduction of the heap is performedpublic JvmTaintReduceOperator(boolean reduceHeap, java.util.Map<Signature,java.util.Set<JvmTaintSource>> taintSources)
reduceHeap
- whether reduction of the heap is performedtaintSources
- collection of taint sourcespublic JvmTaintAbstractState createJvmAbstractState(JvmCfaNode programLocation, JvmFrameAbstractState<SetAbstractState<JvmTaintSource>> frame, JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> heap, MapAbstractState<java.lang.String,SetAbstractState<JvmTaintSource>> staticFields)
JvmAbstractStateFactory
public AbstractState onMethodEntry(AbstractState reducedState, boolean isCallStatic)
ReduceOperator
reducedState
- reduced state (i.e., the entry state of the called method)isCallStatic
- is the called method static