Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Fuzzing: ignore thrown exceptions during instantiation. (#11554)

Chris Fallinecda6e330a94
diff --git a/crates/fuzzing/src/oracles.rs b/crates/fuzzing/src/oracles.rs
index 1e717ccd44..59c9cb7101 100644
--- a/crates/fuzzing/src/oracles.rs
+++ b/crates/fuzzing/src/oracles.rs
@@ -417,6 +417,8 @@ fn unwrap_instance(
|| e.is::<wasmtime::PoolConcurrencyLimitError>()
// And GC heap OOMs.
|| e.is::<wasmtime::GcHeapOutOfMemory<()>>()
+ // And thrown exceptions.
+ || e.is::<wasmtime::ThrownException>()
{
return None;
}