CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Predicate isUnreachableInCall

Holds if the nodes in nr are unreachable when the call context is call.

Import path

import semmle.python.dataflow.new.internal.DataFlowPrivate
predicate isUnreachableInCall(NodeRegion nr, DataFlowCall call)