Files
codeql/javascript/ql/test/tutorials/Introducing the JavaScript libraries/query6.ql
2018-08-02 17:53:23 +01:00

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