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