fuzz

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(dest, src string, perm os.FileMode) (err error)

Types

type FailingInputError

type FailingInputError struct {
	ID   string
	File string
	Seed bool
}

func (FailingInputError) Error

func (f FailingInputError) Error() string

type Module

type Module struct {
	Path string
	Main bool
}

type Package

type Package struct {
	Dir          string
	ImportPath   string
	Name         string
	TestGoFiles  []string
	XTestGoFiles []string
	Module       Module
}

type Project

type Project struct {
	Directory string
	Quiet     bool
}

func (*Project) CorpusDelete

func (p *Project) CorpusDelete(ctx context.Context, packages ...string) error

func (*Project) CorpusExtract

func (p *Project) CorpusExtract(ctx context.Context, destination string, packages ...string) error

func (*Project) CorpusMerge

func (p *Project) CorpusMerge(ctx context.Context, external string, packages ...string) error

func (*Project) CorpusReplace

func (p *Project) CorpusReplace(ctx context.Context, external string, packages ...string) error

func (*Project) Fuzz

func (p *Project) Fuzz(ctx context.Context, target Target, d time.Duration) error

func (*Project) ListFuzzTargets

func (p *Project) ListFuzzTargets(ctx context.Context, packages ...string) ([]Target, error)

type Target

type Target struct {
	Name        string
	Package     string
	RootPackage string
}

func (Target) String

func (t Target) String() string

Jump to

Keyboard shortcuts

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