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

Module PathGraph

Provides the query predicates needed to include a graph in a path-problem query.

Import path

import semmle.code.cpp.ir.dataflow.MustFlow

Predicates

edges

Holds if (a,b) is an edge in the graph of data flow path explanations.

nodes

Holds if n is a node in the graph of data flow path explanations.