CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.2 (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)