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