Skip to content

Commit 9da52ed

Browse files
Update Wasmi fuzzing oracle to v0.42 (bytecodealliance#10386)
* update Wasmi fuzzing oracle to v0.42 * update Wasm proposals supported by Wasmi * Add vets --------- Co-authored-by: Alex Crichton <[email protected]>
1 parent ad21d95 commit 9da52ed

File tree

4 files changed

+28
-78
lines changed

4 files changed

+28
-78
lines changed

Cargo.lock

Lines changed: 17 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/fuzzing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ wasm-encoder = { workspace = true }
3232
wasm-smith = { workspace = true }
3333
wasm-mutate = { workspace = true }
3434
wasm-spec-interpreter = { path = "./wasm-spec-interpreter", optional = true }
35-
wasmi = "0.39.1"
35+
wasmi = "0.42.0"
3636
futures = { workspace = true }
3737
wasmtime-wast-util = { path = '../wast-util' }
3838

crates/fuzzing/src/oracles/diff_wasmi.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ impl WasmiEngine {
1616
// Force generated Wasm modules to never have features that Wasmi doesn't support.
1717
config.simd_enabled = false;
1818
config.relaxed_simd_enabled = false;
19-
config.memory64_enabled = false;
2019
config.threads_enabled = false;
2120
config.exceptions_enabled = false;
2221
config.gc_enabled = false;
23-
config.custom_page_sizes_enabled = false;
24-
config.wide_arithmetic_enabled = false;
2522

2623
let mut wasmi_config = wasmi::Config::default();
2724
wasmi_config
@@ -35,7 +32,10 @@ impl WasmiEngine {
3532
.wasm_reference_types(config.reference_types_enabled)
3633
.wasm_tail_call(config.tail_call_enabled)
3734
.wasm_multi_memory(config.max_memories > 1)
38-
.wasm_extended_const(config.extended_const_enabled);
35+
.wasm_extended_const(config.extended_const_enabled)
36+
.wasm_custom_page_sizes(config.custom_page_sizes_enabled)
37+
.wasm_memory64(config.memory64_enabled)
38+
.wasm_wide_arithmetic(config.wide_arithmetic_enabled);
3939
Self {
4040
engine: wasmi::Engine::new(&wasmi_config),
4141
}

supply-chain/audits.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,12 @@ This is a minor update which has some testing affordances as well as some
23072307
updated math algorithms.
23082308
"""
23092309

2310+
[[audits.libm]]
2311+
who = "Alex Crichton <[email protected]>"
2312+
criteria = "safe-to-deploy"
2313+
delta = "0.2.8 -> 0.2.11"
2314+
notes = "Mostly formatting-related changes, nothing major."
2315+
23102316
[[audits.libtest-mimic]]
23112317
who = "Alex Crichton <[email protected]>"
23122318
criteria = "safe-to-run"

0 commit comments

Comments
 (0)