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

Predicate getCallbackErrorParam

Gets the error parameter for a callback that is supplied to the same call as pred is an argument to. For example: outerCall(foo, <pred>, bar, (<result>, val) => { ... }).

Import path

import semmle.javascript.security.dataflow.ExceptionXssQuery
Node getCallbackErrorParam(Node pred)