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

Module FunctionInputsAndOutputs

Provides QL classes for indicating data flow through a function parameter, return value, or receiver.

Import path

import semmle.go.dataflow.FunctionInputsAndOutputs

Imports

go

Provides classes for working with Go programs.

Classes

FunctionInput

An abstract representation of an input to a function, which is either a parameter or the receiver parameter.

FunctionOutput

An abstract representation of an output of a function, which is one of its results or a parameter with mutable type.

Modules

FunctionInput

Defines convenience methods that get particular FunctionInput instances.

FunctionOutput

Defines convenience methods that get particular FunctionOutput instances.