Struct wasm_smith::MaybeInvalidModule
source · pub struct MaybeInvalidModule { /* private fields */ }
Expand description
Same as Module
, but may be invalid.
This module generates function bodies differnetly than Module
to try to
better explore wasm decoders and such.
Implementations§
Trait Implementations§
source§impl<'a> Arbitrary<'a> for MaybeInvalidModule
impl<'a> Arbitrary<'a> for MaybeInvalidModule
source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read more