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

Member predicate IR::Instruction::writes

Holds if this instruction updates variable or constant v to the value of rhs.

predicate writes(ValueEntity v, Instruction rhs)