Add simple fuzz tests for hashing and boolean-bitfield

This commit is contained in:
Kirk Baird
2019-02-22 16:50:14 +11:00
parent fdbd9d4410
commit ab1dc7bfce
8 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
[package]
name = "hashing-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
[package.metadata]
cargo-fuzz = true
[dependencies.hashing]
path = ".."
[dependencies.libfuzzer-sys]
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "fuzz_target_hash"
path = "fuzz_targets/fuzz_target_hash.rs"