fuzzer

package
v0.0.0-...-1dd1f65 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package fuzzer considers fuzzers as services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Disabled, if set true, disables the fuzzer stage in the main tester.
	Disabled bool `toml:"disabled,omitempty"`

	// FuzzesPerSubject specifies the default number of times the fuzzer will be invoked per subject.
	// If zero, the default number is used.
	FuzzesPerSubject int `toml:"fuzzes_per_subject,omitempty"`

	// Params contains a low-level key-value map of parameters to pass to the fuzzer.
	Params map[string]string `toml:"params,omitempty"`
}

Config configures the fuzzer.

type Job

type Job struct {
	// Seed is the seed to use for randomising decisions made by the fuzzer.
	Seed int32

	// In is the slashpath to the file to fuzz.
	In string

	// OutLitmus is the slashpath to the litmus file that should be outputted by the fuzzer.
	OutLitmus string

	// OutTrace is the slashpath to the trace file that should be outputted by the fuzzer.
	OutTrace string

	// Machine is, optionally, the machine that is the target of the fuzzed output.
	Machine *machine.Machine

	// Config is the configuration for the fuzzer, if any.
	Config *Config
}

Job contains information on how to fuzz a litmus file.

Jump to

Keyboard shortcuts

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