类 TaintReduceOperator
java.lang.Object
proguard.analysis.cpa.jvm.operators.DefaultReduceOperator<SetAbstractState<TaintSource>>
proguard.analysis.cpa.jvm.domain.taint.TaintReduceOperator
- 所有已实现的接口:
ReduceOperator<SetAbstractState<TaintSource>>
This
ReduceOperator inherits all the functionalities of a
DefaultReduceOperator while adding taint-analysis specific functionalities.-
构造器概要
构造器构造器说明TaintReduceOperator(boolean reduceHeap) Create the taint reduce operator for the JVM.TaintReduceOperator(boolean reduceHeap, Map<Signature, Set<TaintSource>> taintSources) Create the taint reduce operator for the JVM. -
方法概要
修饰符和类型方法说明protected JvmAbstractState<SetAbstractState<TaintSource>>createJvmAbstractState(JvmCfaNode programLocation, JvmFrameAbstractState<SetAbstractState<TaintSource>> frame, JvmHeapAbstractState<SetAbstractState<TaintSource>> heap, MapAbstractState<String, SetAbstractState<TaintSource>> staticFields) onMethodEntry(JvmAbstractState<SetAbstractState<TaintSource>> reducedState, boolean isCallStatic) Performs additional operations on the reduced state (i.e. on the method entry state).从类继承的方法 proguard.analysis.cpa.jvm.operators.DefaultReduceOperator
reduceHeap, reduceImpl, reduceStaticFields从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.analysis.cpa.bam.ReduceOperator
reduce
-
构造器详细资料
-
TaintReduceOperator
public TaintReduceOperator(boolean reduceHeap) Create the taint reduce operator for the JVM.- 参数:
reduceHeap- whether reduction of the heap is performed
-
TaintReduceOperator
Create the taint reduce operator for the JVM.- 参数:
reduceHeap- whether reduction of the heap is performedtaintSources- collection of taint sources
-
-
方法详细资料
-
createJvmAbstractState
protected JvmAbstractState<SetAbstractState<TaintSource>> createJvmAbstractState(JvmCfaNode programLocation, JvmFrameAbstractState<SetAbstractState<TaintSource>> frame, JvmHeapAbstractState<SetAbstractState<TaintSource>> heap, MapAbstractState<String, SetAbstractState<TaintSource>> staticFields) -
onMethodEntry
public JvmAbstractState<SetAbstractState<TaintSource>> onMethodEntry(JvmAbstractState<SetAbstractState<TaintSource>> reducedState, boolean isCallStatic) 从接口复制的说明:ReduceOperatorPerforms additional operations on the reduced state (i.e. on the method entry state). Does nothing by default. NB: since this is still part of the reduction operation the result of this method is the state used by the analysis and part of the cache key for the called method.- 参数:
reducedState- reduced state (i.e., the entry state of the called method)isCallStatic- is the called method static- 返回:
- the state after performing additional operations or untouched state by default
-