wasm-mutate fuzz targets (#3836)

* fuzzing: Add a custom mutator based on `wasm-mutate`

* fuzz: Add a version of the `compile` fuzz target that uses `wasm-mutate`

* Update `wasmparser` dependencies
This commit is contained in:
Nick Fitzgerald
2022-02-23 12:14:11 -08:00
committed by GitHub
parent 434e35c490
commit bad9a35418
14 changed files with 527 additions and 391 deletions

View File

@@ -20,7 +20,7 @@ wasmtime-cache = { path = "../cache", version = "=0.34.0", optional = true }
wasmtime-fiber = { path = "../fiber", version = "=0.34.0", optional = true }
wasmtime-cranelift = { path = "../cranelift", version = "=0.34.0", optional = true }
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.82"
wasmparser = "0.83.0"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"

View File

@@ -98,6 +98,11 @@ impl From<&wasmparser::WasmFeatures> for WasmFeatures {
memory64,
relaxed_simd,
extended_const,
// Always on; we don't currently have knobs for these.
mutable_global: _,
saturating_float_to_int: _,
sign_extension: _,
} = *other;
Self {