function

package
v0.0.0-...-fd97c83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Overview

Package function implements a sub-analyzer to create full triggers for each function declaration.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:       "nilaway_function_analyzer",
	Doc:        _doc,
	Run:        analysishelper.WrapRun(run),
	ResultType: reflect.TypeOf((*analysishelper.Result[[]annotation.FullTrigger])(nil)),
	Requires: []*analysis.Analyzer{
		config.Analyzer,
		ctrlflow.Analyzer,
		structfield.Analyzer,
		anonymousfunc.Analyzer,
		functioncontracts.Analyzer,
	},
}

Analyzer here is the analyzer than generates assertions and passes them onto the accumulator to be matched against annotations

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package assertiontree contains the node definitions for the assertion tree, as well as the main backpropagation algorithm.
Package assertiontree contains the node definitions for the assertion tree, as well as the main backpropagation algorithm.
Package functioncontracts implements a sub-analyzer to analyze function contracts in a package, i.e., parsing specified function contracts written as special comments before function declarations, or automatically inferring function contracts from the function body.
Package functioncontracts implements a sub-analyzer to analyze function contracts in a package, i.e., parsing specified function contracts written as special comments before function declarations, or automatically inferring function contracts from the function body.
Package preprocess hosts preprocessing logic for the input (e.g., CFGs etc.) to make it more amenable to analysis.
Package preprocess hosts preprocessing logic for the input (e.g., CFGs etc.) to make it more amenable to analysis.
Package producer contains definitions for parsed producers, which are the result of ParseExprAsProducer.
Package producer contains definitions for parsed producers, which are the result of ParseExprAsProducer.
Package structfieldeffects implements a sub-analyzer that computes the package-level struct-field boundary summary: the field paths each function reads of its parameters and of the results its callers consume.
Package structfieldeffects implements a sub-analyzer that computes the package-level struct-field boundary summary: the field paths each function reads of its parameters and of the results its callers consume.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL