Crate arbitrary

source ·
Expand description

The Arbitrary trait crate.

This trait provides an Arbitrary trait to produce well-typed, structured values, from raw, byte buffers. It is generally intended to be used with fuzzers like AFL or libFuzzer. See the Arbitrary trait’s documentation for details on automatically deriving, implementing, and/or using the trait.

Modules

Utilities for working with and combining the results of Arbitrary::size_hint.
Wrappers around raw, unstructured bytes.

Structs

A source of unstructured data.

Enums

An enumeration of buffer creation errors

Traits

Generate arbitrary structured values from raw, unstructured data.

Type Definitions

A Result with the error type fixed as arbitrary::Error.

Derive Macros