mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
9 lines
273 B
Plaintext
9 lines
273 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."
|