A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Adjust fuzz generation logic looking for malloc memories (#13249)
Alex Crichton44a4328db18e
diff --git a/crates/fuzzing/src/generators/config.rs b/crates/fuzzing/src/generators/config.rsindex d4a5a7a8b6..dd786c53c4 100644--- a/crates/fuzzing/src/generators/config.rs+++ b/crates/fuzzing/src/generators/config.rs@@ -815,7 +815,7 @@ impl WasmtimeConfig {// enough to not blow OOM limits while fuzzing.let is_pulley = self.compiler_strategy == CompilerStrategy::CraneliftPulley;let mcfg = &mut self.memory_config;- if self.signals_based_traps || is_pulley {+ if !self.signals_based_traps || is_pulley {if (mcfg.memory_guard_size == Some(0) || is_pulley)&& mcfg.memory_reservation == Some(0)&& !mcfg.memory_init_cow