CodeQL library for Go
codeql/go-all 2.1.3-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)