CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Predicate jumpStep

Holds if data can flow from node1 to node2 in a way that loses the calling context. For example, this would happen with flow through a global or static variable.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
predicate jumpStep(Node n1, Node n2)