Skip to content

Commit

Permalink
Disable fuzzing of memory64 (#8589)
Browse files Browse the repository at this point in the history
The proposal has been updated to include 64-bit tables which aren't yet
implemented in Wasmtime, so disable the fuzz test case generation for
now.
  • Loading branch information
alexcrichton committed May 9, 2024
1 parent fe433b7 commit 330eb20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/fuzzing/src/generators/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@ impl<'a> Arbitrary<'a> for Config {
// doesn't implement this yet, so forcibly always disable it.
config.module_config.config.tail_call_enabled = false;

// Wasm-smith implements the most up-to-date version of memory64 where
// it supports 64-bit tables as well, but Wasmtime doesn't support that
// yet, so disable the memory64 proposal in fuzzing for now.
config.module_config.config.memory64_enabled = false;

// If using the pooling allocator, constrain the memory and module configurations
// to the module limits.
if let InstanceAllocationStrategy::Pooling(pooling) = &mut config.wasmtime.strategy {
Expand Down

0 comments on commit 330eb20

Please sign in to comment.