cargo fuzz integration (#306)
* added wip translate_module fuzzer * use local binaryen-rs fork (with shim) for fuzzing * minor doc cleanup * check fuzzer integration via CI * switch back to upstream binaryen-rs; add forgotten integration test directive
This commit is contained in:
committed by
Dan Gohman
parent
07c65bab11
commit
1924039713
29
cranelift/fuzz/Cargo.toml
Normal file
29
cranelift/fuzz/Cargo.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[package]
|
||||
name = "cton-wasm-fuzz"
|
||||
version = "0.0.1"
|
||||
authors = ["foote@fastly.com"]
|
||||
publish = false
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
[dependencies.cargo-fuzz]
|
||||
version = "*"
|
||||
|
||||
[dependencies.binaryen]
|
||||
git = "https://github.com/pepyakin/binaryen-rs.git"
|
||||
version = "*"
|
||||
|
||||
[dependencies.libfuzzer-sys]
|
||||
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
|
||||
|
||||
[dependencies.cretonne-wasm]
|
||||
path = "../lib/wasm"
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[[bin]]
|
||||
name = "fuzz_translate_module"
|
||||
path = "fuzz_translate_module.rs"
|
||||
Reference in New Issue
Block a user