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

Predicate Make::Private::External::invalidIndexComponent

Holds if token part of specification spec has an invalid index. E.g., Argument[-1].

Import path

import codeql.dataflow.internal.FlowSummaryImpl
predicate invalidIndexComponent(AccessPath spec, AccessPathToken part)