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

Predicate storeStep

Holds if data can flow from node1 to node2 via an assignment to f. Thus, node2 references an object with a field f that contains the value of node1.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
predicate storeStep(Node node1, ContentSet c, Node node2)