Class TaintSink

java.lang.Object
proguard.analysis.cpa.domain.taint.TaintSink
Direct Known Subclasses:
JvmTaintSink

public abstract class TaintSink extends Object
A TaintSink specifies a sink for the taint analysis. A sink 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.
  • Field Details

  • Constructor Details

    • TaintSink

      public TaintSink(Signature signature)
      Create a taint sink.
      Parameters:
      signature - the signature of a sink method
    • TaintSink

      public TaintSink(Signature signature, Predicate<TaintSource> isValidForSource)
      Create a taint sink.
      Parameters:
      signature - the signature of a sink method
      isValidForSource - predicate on whether the sink is valid for a given source
  • Method Details