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

Member predicate ControlFlow::WriteNode::writes

Holds if this node sets variable or constant v to rhs.

predicate writes(ValueEntity v, Node rhs)