internal

package
v0.2.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupFlags

func SetupFlags(config model.Configuration) error

Types

type TestDeps

type TestDeps struct {
	// contains filtered or unexported fields
}

TestDeps implements the TestDeps interface for MainStart.

func (*TestDeps) CheckCorpus

func (*TestDeps) CheckCorpus([]any, []reflect.Type) error

func (*TestDeps) CoordinateFuzzing

func (*TestDeps) CoordinateFuzzing(time.Duration, int64, time.Duration, int64, int, []corpusEntry, []reflect.Type, string, string) error

func (*TestDeps) ImportPath

func (*TestDeps) ImportPath() string

func (*TestDeps) InitRuntimeCoverage added in v0.2.9

func (*TestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64)

func (*TestDeps) MatchString

func (d *TestDeps) MatchString(pat, str string) (bool, error)

func (*TestDeps) ReadCorpus

func (*TestDeps) ReadCorpus(string, []reflect.Type) ([]corpusEntry, error)

func (*TestDeps) ResetCoverage

func (*TestDeps) ResetCoverage()

func (*TestDeps) RunFuzzWorker

func (*TestDeps) RunFuzzWorker(func(corpusEntry) error) error

func (*TestDeps) SetPanicOnExit0

func (*TestDeps) SetPanicOnExit0(bool)

func (*TestDeps) SnapshotCoverage

func (*TestDeps) SnapshotCoverage()

func (*TestDeps) StartCPUProfile

func (*TestDeps) StartCPUProfile(w io.Writer) error

func (*TestDeps) StartTestLog

func (*TestDeps) StartTestLog(w io.Writer)

func (*TestDeps) StopCPUProfile

func (*TestDeps) StopCPUProfile()

func (*TestDeps) StopTestLog

func (*TestDeps) StopTestLog() error

func (*TestDeps) WriteProfileTo

func (*TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error

Jump to

Keyboard shortcuts

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