Class JvmTaintSink
java.lang.Object
proguard.analysis.cpa.domain.taint.TaintSink
proguard.analysis.cpa.jvm.domain.taint.JvmTaintSink
- Direct Known Subclasses:
JvmInvokeTaintSink,JvmReturnTaintSink
The
JvmTaintSink adds an interface for extracting sensitive JVM memory locations and to
check if the sink matches a given cfa edge.-
Field Summary
Fields inherited from class proguard.analysis.cpa.domain.taint.TaintSink
IS_VALID_FOR_SOURCE_DEFAULT, isValidForSource, signature -
Constructor Summary
ConstructorsConstructorDescriptionJvmTaintSink(Signature signature) JvmTaintSink(Signature signature, Predicate<TaintSource> isValidForSource) -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<Signature,Map<JvmTaintSink, Set<JvmMemoryLocation>>> convertSinksToMemoryLocations(Collection<? extends JvmTaintSink> taintSinks) Helper method taking a collection of sinks and converting it to a mapping that associates each sink with the memory locations which triggers it.booleanabstract Set<JvmMemoryLocation>Returns memory locations which trigger this taint sink.inthashCode()abstract booleanmatchCfaEdge(JvmCfaEdge edge) Returns whether the sink matches a given CFA edge.
-
Constructor Details
-
JvmTaintSink
-
JvmTaintSink
-
-
Method Details
-
getMemoryLocations
Returns memory locations which trigger this taint sink. -
matchCfaEdge
Returns whether the sink matches a given CFA edge. -
convertSinksToMemoryLocations
public static Map<Signature,Map<JvmTaintSink, convertSinksToMemoryLocationsSet<JvmMemoryLocation>>> (Collection<? extends JvmTaintSink> taintSinks) Helper method taking a collection of sinks and converting it to a mapping that associates each sink with the memory locations which triggers it. For convenience the sinks are further grouped by their method signature. -
equals
-
hashCode
public int hashCode()
-