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.




  • An enumeration of buffer creation errors


  • Generate arbitrary structured values from raw, unstructured data.

Type Aliases§

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

Derive Macros§