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

Predicate getArgument

Gets the ith argument of call c, where the receiver of a method call counts as argument -1.

Import path

import semmle.go.dataflow.internal.DataFlowPrivate
Node getArgument(CallNode c, int i)