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

Predicate IR::initInstruction

Gets the instruction corresponding to the ith initialization happening at spec (0-based).

Import path

import semmle.go.controlflow.IR
AssignInstruction initInstruction(ValueSpec spec, int i)