Crate fuzzcheck[][src]

Expand description

Fuzzcheck is a coverage-guided, evolutionary fuzzing engine for Rust functions.

Re-exports

pub extern crate fastrand;

Modules

This crate provides a range of mutators that can be used to run structure-aware fuzz tests using the fuzzcheck crate. It also provides the DefaultMutator trait, which assigns a default mutator to a type:

This crate contains types implementing the Serializer trait of fuzzcheck. There are currently two implementations:

Macros

Creates a grammar corresponding to an alternation of rules.

Creates a grammar corresponding to a sequence of rules.

Creates a grammar corresponding to a single character within the specfied range or ranges.

Creates a point of recursion in a grammar. See: recursive!

Creates a recursive grammar.

Creates a grammar corresponding to the repetition of a rule.

Structs

A Serializer for Vec that simply copies the bytes from/to the files.

A serializer that uses serde and serde_json to serialize the test inputs (of arbitrary type T: Serializable + for<'e> Deserializable<'e>) to a json file.

Enums

Use this builder type to construct a fuzz test and launch it.

Traits

A Mutator is an object capable of mutating a value for the purpose of fuzz-testing.

A Serializer is used to encode and decode values into bytes.

Derive Macros