CodeQL library for C/C++
codeql/cpp-all 0.13.0 (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.dataflow.internal.DataFlowPrivate
predicate storeStep(Node node1, ContentSet f, Node node2)