CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (changelog, source)
Search

Predicate CachedSteps::argumentPassing

Holds if arg is passed as an argument into parameter parm through invocation invk of function f.

Import path

import semmle.javascript.dataflow.internal.FlowSteps
predicate argumentPassing(SourceNode invk, Node arg, Function f, SourceNode parm)