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

Member predicate IR::Instruction::readsField

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

predicate readsField(Instruction base, Field f)