CodeQL library for Go
codeql/go-all 4.2.5-dev (changelog, source)
Search

Predicate storeStep

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

Import path

import semmle.go.dataflow.internal.DataFlowPrivate
predicate storeStep(Node node1, ContentSet cs, Node node2)