visitor

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Run added in v0.0.4

type Run struct {
	Visitor
	ZeroTrace bool
	Basic     bool
}

func (Run) Run added in v0.0.4

func (v Run) Run()

Run runs the analysis.

type Visitor

type Visitor struct {
	*analysis.Pass
	Excludes set.Set[string]
	Detected set.Set[string]
}

Visitor is an AST visitor for analyzing usage of pointers to zero-size variables.

Jump to

Keyboard shortcuts

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