honggfuzz 0.4.0

Fuzz your Rust code with Honggfuzz !
Documentation
#!/bin/sh -ve
export RUST_BACKTRACE=full

cargo clean

# install cargo subcommands
cargo install --force --verbose

cd example
cargo hfuzz-clean

# build example with instrumentation
cargo hfuzz-build --verbose

# clean and prepare workspace
rm -rf workspace
mkdir -p workspace/input

# fuzz exemple
cargo honggfuzz -W workspace -f workspace/input -P -v -N 1000000 --exit_upon_crash  -- fuzzing_target/x86_64-unknown-linux-gnu/debug/example

# verify that the fuzzing process found the crash
test "$(cat workspace/*.fuzz)" = "qwertyuiop"

# clean
cargo hfuzz-clean

# verify that the fuzzing-target has been cleaned
test ! -e fuzzing_target

# try to generate doc
cargo doc