Class TaintTracking::TaintSource

A source of taintedness. Users of the taint tracking library should override this class to provide their own sources.

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

flowsToSink

Holds if taint can flow from this source to sink sink

flowsToSink

Holds if taint can flow from this source to taint sink sink

getATaintNode

Gets a TaintedNode for this taint source

getLocation
hasLocationInfo
isSourceOf

Holds if this is a source of taint kind kind

isSourceOf

Holds if this is a source of taint kind kind for the given context. Generally, this should not need to be overridden; overriding isSourceOf(kind) should be sufficient.

toString