CodeQL library for Rust
codeql/rust-all 0.2.27 (changelog, source)
Search

Predicate Flow::ConsistencyChecks::uniqueReadVariable

Holds if variable read vr does not have exactly one source variable, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueReadVariable(VariableRead vr, string msg)