Struct wasm_smith::ConfiguredModule [−][src]
pub struct ConfiguredModule<C> where
C: Config, { /* fields omitted */ }Expand description
Implementations
Ensure that all of this Wasm module’s functions will terminate when executed.
This adds a new mutable, exported global to the module to keep track of how much “fuel” is left. Fuel is decremented at the head of each loop and function. When fuel reaches zero, a trap is raised.
The index of the fuel global is returned, so that you may control how much fuel the module is given.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<C> !RefUnwindSafe for ConfiguredModule<C>impl<C> !Send for ConfiguredModule<C>impl<C> !Sync for ConfiguredModule<C>impl<C> Unpin for ConfiguredModule<C> where
C: Unpin, impl<C> !UnwindSafe for ConfiguredModule<C>