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

Member predicate IR::Instruction::readsElement

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

predicate readsElement(Instruction base, Instruction index)