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

Predicate LoopBoundInjection::isCrashingWithNullValues

Holds if an exception will be thrown whenever e evaluates to undefined or null.

Import path

import semmle.javascript.security.dataflow.LoopBoundInjectionCustomizations
predicate isCrashingWithNullValues(Expr e)