Documentation
¶
Overview ¶
Package fuzzer provides a sequential fuzzer for testing purposes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SequentialFuzzer ¶
type SequentialFuzzer struct {
Data []byte // Data to fuzz
Start, End int // Range to fuzz
Errors []error // Errors returned
ErrorCount int // Total number of errors
TestCount int // Total number of tests
TestFunc func([]byte) error // The test function
}
SequentialFuzzer fuzzes data one bit at a time, sequentially
func (*SequentialFuzzer) Fuzz ¶
func (sf *SequentialFuzzer) Fuzz() bool
Fuzz runs a fuzzing test on a SequentialFuzzer and returns false if less errors were returned than tests run.
Click to show internal directories.
Click to hide internal directories.