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

Predicate nodeReachingSink

Gets a source node that can flow to sink without using a return step.

Import path

import semmle.javascript.endpoints.EndpointNaming
SourceNode nodeReachingSink(Node sink)