Expand modules instantiated in instantiate-wasm-smith

This commit uses the new `MaybeInvalidModule` type in `wasm-smith` to
try to explore more points in the fuzz target space in the
`instantiate-maybe-invalid` fuzz target. The goal here is to use the raw
fuzz input as the body of a function to stress the validator/decoder a
bit more, and try to get inputs we might not otherwise generate.
This commit is contained in:
Alex Crichton
2020-09-03 07:23:33 -07:00
parent 2ef78d0a88
commit 38428e1fbb
5 changed files with 31 additions and 6 deletions

4
Cargo.lock generated
View File

@@ -2296,9 +2296,9 @@ dependencies = [
[[package]]
name = "wasm-smith"
version = "0.1.3"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282c6162f6e30c663bf473bba323950eb494d7de1899e259024ffeb127cf5733"
checksum = "5ff896bbe4adf62d6a909708c34db3ad94ce2103daa9673f64fe15e60ba70dad"
dependencies = [
"arbitrary",
"leb128",