mutate

package
v0.0.0-...-a517693 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2016 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

type Mutator interface {
}

type Nop

type Nop struct {
	WorkingDir string
}

func (*Nop) Run

func (n *Nop) Run(in chan Request, out chan data.TestCase, errOut chan error)

type Radamsa

type Radamsa struct {
	S *session.Session
	L *logging.Logs
}

Radamsa is a mutator based on the radamsa fuzzer, unsurprisingly. The WorkingDir variable specifies a directory into which fuzz files shall be written. The Seed variable specifies the seed value that will be passed directly to radamsa to seed its fuzzing engine.

func (*Radamsa) Run

func (r *Radamsa) Run(in chan Request, out chan data.TestCase,
	errOut chan error)

Run starts a work loop that consumes MutateRequests specifying a source file and the number of fuzz files to generate. As output it produces the paths to each of these fuzz files. On error a message will be sent on the errOut channel.

type RadamsaMultiFile

type RadamsaMultiFile struct {
	S *session.Session
	L *logging.Logs
}

RadamsaMultiFile is a mutator based on the radamsa fuzzer. It generates test cases based on multiple input files, instead of a single input. WorkingDir variable specifies a directory into which fuzz files shall be written. The Seed variable specifies the seed value that will be passed directly to radamsa to seed its fuzzing engine.

func (*RadamsaMultiFile) Run

func (r *RadamsaMultiFile) Run(in chan Request, out chan data.TestCase,
	errOut chan error)

Run starts a work loop that consumes MutateRequests specifying multiple source files and the number of fuzz files to generate. As output it produces the paths to each of these fuzz files. On error a message will be sent on the errOut channel.

type Request

type Request struct {
	SourceFiles []string
	Count       int
}

Jump to

Keyboard shortcuts

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