CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.3.1-dev (changelog, source)
Search

Module DataFlow::MakeStateBarrierGuard

Converts a barrier guard class to a set of nodes to include in an implementation of isBarrier(node, state).

Import path

import javascript

Predicates

getABarrierNode

Gets a node and flow state that is blocked by a barrier guard.

Parameters

FlowStateFlowStateSig
BaseGuardBarrierGuardSig