CodeQL library for Java/Kotlin
codeql/java-all 4.0.1-dev (changelog, source)
Search

Module DataFlow::BarrierGuard

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

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

Import path

import semmle.code.java.dataflow.DataFlow

Predicates

getABarrierNode

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

Parameters

guardChecksguardChecksSig