This post is part of the Input Coverage > Code Coverage series.
Keep noise down.
Makefile:
fuzz:
	cargo +nightly fuzz run target -max_total_time=60
afl:
	RUSTFLAGS="-C panic=abort" cargo afl build -F afl --bin fuzz-afl
	mkdir -p afl_in afl_out
	printf "seed" > afl_in/seed
	cargo afl fuzz -i afl_in -o afl_out target/debug/fuzz-afl @@