fuzz: add differential_spec fuzzing target

This new target compares the outputs of executing the first exported
function of a Wasm module in Wasmtime and in the official Wasm spec
interpreter (using the `wasm-spec-interpreter` crate). This is an
initial step towards more fully-featured fuzzing (e.g. compare memories,
add `v128`, add references, add other proposals, etc.)
This commit is contained in:
Andrew Brown
2021-07-28 13:21:42 -07:00
parent f3955fa62a
commit 651a321f1a
3 changed files with 161 additions and 10 deletions

View File

@@ -52,6 +52,12 @@ path = "fuzz_targets/differential.rs"
test = false
doc = false
[[bin]]
name = "differential_spec"
path = "fuzz_targets/differential_spec.rs"
test = false
doc = false
[[bin]]
name = "differential_wasmi"
path = "fuzz_targets/differential_wasmi.rs"