Crate arbitrary

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§

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

Structs§

MaxRecursionReached
Error indicating that the maximum recursion depth has been reached while calculating Arbitrary::size_hint
Unstructured
A source of unstructured data.

Enums§

Error
An enumeration of buffer creation errors

Traits§

Arbitrary
Generate arbitrary structured values from raw, unstructured data.

Type Aliases§

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

Derive Macros§

Arbitrary