Class TaintTracking::CallContext

Call context for use in taint-tracking. Using call contexts prevents “cross talk” between different calls to the same function. For example, if a function f is defined as

def f(arg):
    return arg

Then f("tainted") is “tainted”, but `f(“ok”) is “ok”.

Direct supertypes

Predicates

appliesTo

Holds if this context can apply to n.

appliesToScope

Holds if this context can apply to s

getCallee
getCaller
getDepth

Gets the call depth of this context.

toString