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

Predicate IR::assignInstruction

Gets the instruction corresponding to the ith assignment happening at assgn (0-based).

Import path

import semmle.go.controlflow.IR
AssignInstruction assignInstruction(Assignment assgn, int i)