Files
codeql/javascript/ql/test/tutorials/Introducing the JavaScript libraries/query6.ql
Anders Schack-Mulligen e58094c732 Javascript: Autoformat.
2019-01-11 11:02:42 +01:00

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."