public class TaintSource
extends java.lang.Object
TaintSource
specifies a method which can taint any (subset) of the following: the
instance, the return value, the argument objects, or static fields.Modifier and Type | Field and Description |
---|---|
Signature |
signature |
java.util.Set<java.lang.Integer> |
taintsArgs |
java.util.Set<java.lang.String> |
taintsGlobals |
boolean |
taintsReturn |
boolean |
taintsThis |
Constructor and Description |
---|
TaintSource(Signature signature,
boolean taintsThis,
boolean taintsReturn,
java.util.Set<java.lang.Integer> taintsArgs,
java.util.Set<java.lang.String> taintsGlobals)
Create a taint source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final Signature signature
public final boolean taintsThis
public final boolean taintsReturn
public final java.util.Set<java.lang.Integer> taintsArgs
public final java.util.Set<java.lang.String> taintsGlobals
public TaintSource(Signature signature, boolean taintsThis, boolean taintsReturn, java.util.Set<java.lang.Integer> taintsArgs, java.util.Set<java.lang.String> taintsGlobals)
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