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

Member predicate IR::FieldReadInstruction::readsField

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

predicate readsField(Instruction base, Field f)