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

Predicate AccessPath::parseIntUnbounded

Parses an integer constant or interval (bounded or unbounded) and gets any of the integers contained within (of which there may be infinitely many).

Has no result for arguments involving an explicit arity, such as N-1.

Import path

import codeql.dataflow.internal.AccessPathSyntax
int parseIntUnbounded(string arg)