mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
10 lines
269 B
Plaintext
10 lines
269 B
Plaintext
import javascript
|
|
|
|
from Function fun, Parameter p, Parameter q, int i, int j
|
|
where
|
|
p = fun.getParameter(i) and
|
|
q = fun.getParameter(j) and
|
|
i < j and
|
|
p.getAVariable() = q.getAVariable()
|
|
select fun, "This function has two parameters that bind the same variable."
|