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

Predicate DataFlow::hasPathWithoutUnmatchedReturn

Holds if there is a path without unmatched return steps from source to sink.

Import path

import javascript
predicate hasPathWithoutUnmatchedReturn(SourcePathNode source, SinkPathNode sink)