public class TaintReduceOperator extends DefaultReduceOperator<SetAbstractState<JvmTaintSource>>
ReduceOperator inherits all the functionalities of a
DefaultReduceOperator while adding taint-analysis specific functionalities.| Constructor and Description |
|---|
TaintReduceOperator(boolean reduceHeap)
Create the taint reduce operator for the JVM.
|
TaintReduceOperator(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 |
|---|---|
protected JvmAbstractState<SetAbstractState<JvmTaintSource>> |
createJvmAbstractState(JvmCfaNode programLocation,
JvmFrameAbstractState<SetAbstractState<JvmTaintSource>> frame,
JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> heap,
MapAbstractState<java.lang.String,SetAbstractState<JvmTaintSource>> staticFields) |
JvmAbstractState<SetAbstractState<JvmTaintSource>> |
onMethodEntry(JvmAbstractState<SetAbstractState<JvmTaintSource>> reducedState,
boolean isCallStatic)
Performs additional operations on the reduced state (i.e.
|
reduceHeap, reduceImpl, reduceStaticFieldsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreducepublic TaintReduceOperator(boolean reduceHeap)
reduceHeap - whether reduction of the heap is performedpublic TaintReduceOperator(boolean reduceHeap,
java.util.Map<Signature,java.util.Set<JvmTaintSource>> taintSources)
reduceHeap - whether reduction of the heap is performedtaintSources - collection of taint sourcesprotected JvmAbstractState<SetAbstractState<JvmTaintSource>> createJvmAbstractState(JvmCfaNode programLocation, JvmFrameAbstractState<SetAbstractState<JvmTaintSource>> frame, JvmHeapAbstractState<SetAbstractState<JvmTaintSource>> heap, MapAbstractState<java.lang.String,SetAbstractState<JvmTaintSource>> staticFields)
createJvmAbstractState in class DefaultReduceOperator<SetAbstractState<JvmTaintSource>>public JvmAbstractState<SetAbstractState<JvmTaintSource>> onMethodEntry(JvmAbstractState<SetAbstractState<JvmTaintSource>> reducedState, boolean isCallStatic)
ReduceOperatorreducedState - reduced state (i.e., the entry state of the called method)isCallStatic - is the called method static