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

Predicate IR::extractTupleElement

Gets the instruction corresponding to the extraction of the idxth element of the tuple produced by base.

Import path

import semmle.go.controlflow.IR
ExtractTupleElementInstruction extractTupleElement(Instruction base, int idx)