mod

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func struct {
	FuncName  string
	PkgName   string      // package name (should be the same as the package's package statement)
	PkgPath   string      // import path
	PkgDir    string      // local on-disk directory
	TypesFunc *types.Func // auxiliary information about a Func from the go/types package
}

Func represents a discovered function that will be fuzzed.

func (*Func) FuzzName

func (f *Func) FuzzName() string

FuzzName returns the '<pkg>.<OrigFuzzFunc>' string. For example, it might be 'fmt.FuzzFmt'. In fzgo, this was used in messages, and as part of the path when creating the corpus location under testdata.

func (*Func) String

func (f *Func) String() string

Jump to

Keyboard shortcuts

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