diff --git a/core/engine/src/context/mod.rs b/core/engine/src/context/mod.rs index dd27ebf8f63..cd6ac27c632 100644 --- a/core/engine/src/context/mod.rs +++ b/core/engine/src/context/mod.rs @@ -527,6 +527,12 @@ impl Context { Ok(self.enter_realm(old_realm)) } + /// Get the remaining instruction count + #[cfg(freature = "fuzz")] + #[inline] + pub const fn instructions_remaining(&self) -> u64 { + self.instructions_remaining + } /// Get the [`RootShape`]. #[inline] #[must_use]