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

Predicate CachedSteps::identityFunctionStep

Holds if there is a step from pred to succ through a call to an identity function.

Import path

import semmle.javascript.dataflow.internal.FlowSteps
predicate identityFunctionStep(Node pred, CallNode succ)