Crate libfuzzer_sys

source ·
Expand description

Bindings to libFuzzer: a runtime for coverage-guided fuzzing.

See the cargo-fuzz guide for a usage tutorial.

The main export of this crate is the fuzz_target! macro, which allows you to define targets for libFuzzer to exercise.


pub use arbitrary;


Define a custom mutator.
Define a fuzz target.


Indicates whether the input should be kept in the corpus or rejected. This should be returned by your fuzz target. If your fuzz target does not return a value (i.e., returns ()), then the input will be kept in the corpus.


The default libFuzzer mutator.