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

Member predicate IR::Instruction::writesField

Holds if this instruction updates the value of field f on the value of base.

predicate writesField(Instruction base, Field f, Instruction rhs)