fuzzer

package
v0.0.0-...-30b4a77 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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