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

Member predicate IR::Instruction::writesElement

Holds if this instruction updates the value of element index on the value of base.

predicate writesElement(Instruction base, Instruction index)