CodeQL library for Python
codeql/python-all 0.7.1 (changelog, source)
Search

Module BarrierGuard

Provides a set of barrier nodes for a guard that validates a node.

This is expected to be used in isBarrier/isSanitizer definitions in data flow and taint tracking.

Import path

import semmle.python.dataflow.new.internal.DataFlowPublic

Predicates

getABarrierNode

Gets a node that is safely guarded by the given guard check.

Parameters

guardChecksguardChecksSig