CodeQL library for Go
codeql/go-all 0.7.13 (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)