类 JvmTaintSource
- java.lang.Object
-
- proguard.analysis.cpa.domain.taint.TaintSource
-
- proguard.analysis.cpa.jvm.domain.taint.JvmTaintSource
-
public class JvmTaintSource extends TaintSource
AJvmTaintSourcespecifies a method which can taint any (subset) of the following: the instance, the return value, the argument objects, or static fields. ThecallMatcherdecides whether the call (already filtered by itsSignature) should trigger this source.
-
-
字段概要
字段 修饰符和类型 字段 说明 java.util.Optional<java.util.function.Predicate<Call>>callMatcher-
从类继承的字段 proguard.analysis.cpa.domain.taint.TaintSource
signature, taintsArgs, taintsGlobals, taintsReturn, taintsThis
-
-
构造器概要
构造器 构造器 说明 JvmTaintSource(Signature signature, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)Create a taint source.JvmTaintSource(Signature signature, java.util.function.Predicate<Call> callMatcher, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)Create a taint source.JvmTaintSource(Signature signature, java.util.Optional<java.util.function.Predicate<Call>> callMatcher, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)Create a taint source.
-
-
-
字段详细资料
-
callMatcher
public final java.util.Optional<java.util.function.Predicate<Call>> callMatcher
-
-
构造器详细资料
-
JvmTaintSource
public JvmTaintSource(Signature signature, java.util.function.Predicate<Call> callMatcher, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)
Create a taint source.- 参数:
signature- the signature a source methodcallMatcher- whether the call matches this taint sourcetaintsThis- whether the source taints the calling instancetaintsReturn- whether the source taints its returntaintsArgs- a set of tainted argumentstaintsGlobals- a set of tainted global variables
-
JvmTaintSource
public JvmTaintSource(Signature signature, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)
Create a taint source.- 参数:
signature- the signature a source methodtaintsThis- whether the source taints the calling instancetaintsReturn- whether the source taints its returntaintsArgs- a set of tainted argumentstaintsGlobals- a set of tainted global variables
-
JvmTaintSource
public JvmTaintSource(Signature signature, java.util.Optional<java.util.function.Predicate<Call>> callMatcher, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)
Create a taint source.- 参数:
signature- the signature a source methodcallMatcher- an optional predicate on whether the call matches this taint sourcetaintsThis- whether the source taints the calling instancetaintsReturn- whether the source taints its returntaintsArgs- a set of tainted argumentstaintsGlobals- a set of tainted global variables
-
-
方法详细资料
-
equals
public boolean equals(java.lang.Object obj)
- 覆盖:
equals在类中TaintSource
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中TaintSource
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中TaintSource
-
-