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

Predicate IR::implicitUpperSliceBoundInstruction

Gets the instruction corresponding to the implicit upper bound of slice e, if any.

Import path

import semmle.go.controlflow.IR
EvalImplicitUpperSliceBoundInstruction implicitUpperSliceBoundInstruction(SliceExpr e)