CodeQL library for Go
codeql/go-all 8.1.0 (changelog, source)
Search

Module ParameterizedBarrierGuard

Provides a set of barrier nodes for a Boolean guard that validates an expression.

Import path

import semmle.go.dataflow.internal.DataFlowUtil

Predicates

getABarrierNode

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

getABarrierNodeForGuard

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

Parameters