mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
8 lines
280 B
Plaintext
8 lines
280 B
Plaintext
import codeql.ruby.ast.Variable
|
|
import codeql.ruby.dataflow.internal.DataFlowPrivate::VariableCapture::Flow::ConsistencyChecks
|
|
|
|
query predicate ambiguousVariable(VariableAccess access, Variable variable) {
|
|
access.getVariable() = variable and
|
|
count(access.getVariable()) > 1
|
|
}
|