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

Member predicate IR::ElementReadInstruction::readsElement

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

predicate readsElement(Instruction base, Instruction index)