Add fuzz target for cranelift_reader::parse_test.

This commit is contained in:
Corey Farwell
2018-07-24 09:59:21 -04:00
committed by Dan Gohman
parent eed861c6e1
commit 299898d494
2 changed files with 16 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ cargo-fuzz = "*"
binaryen = { git = "https://github.com/pepyakin/binaryen-rs.git" }
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
cranelift-wasm = { path = "../lib/wasm" }
cranelift-reader = { path = "../lib/reader" }
target-lexicon = "0.0.3"
# Prevent this from interfering with workspaces
@@ -21,3 +22,7 @@ members = ["."]
[[bin]]
name = "fuzz_translate_module"
path = "fuzz_translate_module.rs"
[[bin]]
name = "fuzz_reader_parse_test"
path = "fuzz_reader_parse_test.rs"