类 JvmMethodTaintSource
java.lang.Object
proguard.analysis.cpa.jvm.domain.taint.JvmMethodTaintSource
- 所有已实现的接口:
TaintSource
A
JvmMethodTaintSource specifies a method which can taint any (subset) of the following:
the instance, the return value, the argument objects, or static fields. The callMatcher
decides whether the call (already filtered by its Signature) should trigger this source.-
字段概要
字段 -
构造器概要
构造器构造器说明JvmMethodTaintSource(Signature signature, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source.JvmMethodTaintSource(Signature signature, Predicate<Call> callMatcher, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source.JvmMethodTaintSource(Signature signature, Optional<Predicate<Call>> callMatcher, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source. -
方法概要
-
字段详细资料
-
callMatcher
-
-
构造器详细资料
-
JvmMethodTaintSource
public JvmMethodTaintSource(Signature signature, Predicate<Call> callMatcher, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source.- 参数:
signature- the signature a source methodcallMatcher- whether the call matches this taint sourcetaintThis- whether the source taints the calling instancetaintReturn- whether the source taints its returntaintArgs- a set of tainted argumentstaintGlobals- a set of tainted global variables
-
JvmMethodTaintSource
public JvmMethodTaintSource(Signature signature, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source.- 参数:
signature- the signature a source methodtaintThis- whether the source taints the calling instancetaintReturn- whether the source taints its returntaintArgs- a set of tainted argumentstaintGlobals- a set of tainted global variables
-
JvmMethodTaintSource
public JvmMethodTaintSource(Signature signature, Optional<Predicate<Call>> callMatcher, boolean taintThis, boolean taintReturn, Set<Integer> taintArgs, Set<String> taintGlobals) Create a taint source.- 参数:
signature- the signature a source methodcallMatcher- an optional predicate on whether the call matches this taint sourcetaintThis- whether the source taints the calling instancetaintReturn- whether the source taints its returntaintArgs- a set of tainted argumentstaintGlobals- a set of tainted global variables
-
-
方法详细资料
-
getSignature
从接口复制的说明:TaintSourceReturns the signature of the program location this taint source refers to.- 指定者:
getSignature在接口中TaintSource
-
getTaintsThis
public boolean getTaintsThis() -
getTaintsReturn
public boolean getTaintsReturn() -
getTaintArgs
-
getTaintGlobals
-
equals
-
hashCode
public int hashCode() -
toString
-