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