类 JvmInvokeTaintSink
- java.lang.Object
-
- proguard.analysis.cpa.domain.taint.TaintSink
-
- proguard.analysis.cpa.jvm.domain.taint.JvmTaintSink
-
- proguard.analysis.cpa.jvm.domain.taint.JvmInvokeTaintSink
-
public class JvmInvokeTaintSink extends JvmTaintSink
AJvmTaintSinkon a method invocation. This sinks can be sensitive to the instance, the arguments, or the static fields. If a sink S is sensitive to X, then if X is tainted, we conclude that the taint has reached S.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classJvmInvokeTaintSink.BuilderBuilder forJvmInvokeTaintSink.
-
字段概要
字段 修饰符和类型 字段 说明 java.util.function.Predicate<Call>callMatcherjava.util.Set<java.lang.Integer>takesArgsjava.util.Set<java.lang.String>takesGlobalsbooleantakesInstance-
从类继承的字段 proguard.analysis.cpa.domain.taint.TaintSink
IS_VALID_FOR_SOURCE_DEFAULT, isValidForSource, signature
-
-
构造器概要
构造器 限定符 构造器 说明 JvmInvokeTaintSink(Signature signature, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals)Create a taint sink.protectedJvmInvokeTaintSink(Signature signature, java.util.function.Predicate<TaintSource> isValidForSource, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals, java.util.function.Predicate<Call> callMatcher)Create a taint sink.JvmInvokeTaintSink(Signature signature, java.util.function.Predicate<Call> callMatcher, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals)已过时。
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object o)java.util.Set<JvmMemoryLocation>getMemoryLocations()Returns memory locations which trigger this taint sink.inthashCode()booleanmatchCfaEdge(JvmCfaEdge edge)Returns true if the edge is a call to the sink method.java.lang.StringtoString()-
从类继承的方法 proguard.analysis.cpa.jvm.domain.taint.JvmTaintSink
convertSinksToMemoryLocations
-
-
-
-
字段详细资料
-
takesInstance
public final boolean takesInstance
-
takesArgs
public final java.util.Set<java.lang.Integer> takesArgs
-
takesGlobals
public final java.util.Set<java.lang.String> takesGlobals
-
callMatcher
public final java.util.function.Predicate<Call> callMatcher
-
-
构造器详细资料
-
JvmInvokeTaintSink
public JvmInvokeTaintSink(Signature signature, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals)
Create a taint sink.- 参数:
signature- the signature of a sink methodtakesInstance- whether the sink is sensitive to the calling instancetakesArgs- a set of sensitive argumentstakesGlobals- a set of sensitive global variables
-
JvmInvokeTaintSink
@Deprecated public JvmInvokeTaintSink(Signature signature, java.util.function.Predicate<Call> callMatcher, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals)
已过时。Create a taint sink.- 参数:
signature- the signature of a sink methodcallMatcher- whether the call matches this taint sinktakesInstance- whether the sink is sensitive to the calling instancetakesArgs- a set of sensitive argumentstakesGlobals- a set of sensitive global variables
-
JvmInvokeTaintSink
protected JvmInvokeTaintSink(Signature signature, java.util.function.Predicate<TaintSource> isValidForSource, boolean takesInstance, java.util.Set<java.lang.Integer> takesArgs, java.util.Set<java.lang.String> takesGlobals, java.util.function.Predicate<Call> callMatcher)
Create a taint sink.- 参数:
signature- the signature of a sink methodisValidForSource- predicate on whether the sink is valid for a given sourcetakesInstance- whether the sink is sensitive to the calling instancetakesArgs- a set of sensitive argumentstakesGlobals- a set of sensitive global variablescallMatcher- predicate on whether a call matches this taint sink
-
-
方法详细资料
-
getMemoryLocations
public java.util.Set<JvmMemoryLocation> getMemoryLocations()
Returns memory locations which trigger this taint sink.- 指定者:
getMemoryLocations在类中JvmTaintSink
-
matchCfaEdge
public boolean matchCfaEdge(JvmCfaEdge edge)
Returns true if the edge is a call to the sink method.- 指定者:
matchCfaEdge在类中JvmTaintSink
-
equals
public boolean equals(java.lang.Object o)
- 覆盖:
equals在类中JvmTaintSink
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中JvmTaintSink
-
-