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