public class JvmReturnTaintSink extends JvmTaintSink
JvmTaintSink
triggered if the return value of the specified method is tainted.IS_VALID_FOR_SOURCE_DEFAULT, isValidForSource, signature
Constructor and Description |
---|
JvmReturnTaintSink(Signature signature) |
JvmReturnTaintSink(Signature signature,
java.util.function.Predicate<TaintSource> isValidForSource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Set<JvmMemoryLocation> |
getMemoryLocations()
The location of values returned by a method is the top of the stack.
|
int |
hashCode() |
boolean |
matchCfaEdge(JvmCfaEdge edge)
Returns true on the return edge of the sink method.
|
java.lang.String |
toString() |
convertSinksToMemoryLocations
public JvmReturnTaintSink(Signature signature)
public JvmReturnTaintSink(Signature signature, java.util.function.Predicate<TaintSource> isValidForSource)
public java.util.Set<JvmMemoryLocation> getMemoryLocations()
getMemoryLocations
in class JvmTaintSink
public boolean matchCfaEdge(JvmCfaEdge edge)
matchCfaEdge
in class JvmTaintSink
public boolean equals(java.lang.Object o)
equals
in class JvmTaintSink
public int hashCode()
hashCode
in class JvmTaintSink