CodeQL library for Python
codeql/python-all 7.2.11 (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)