MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / arbitrary

Method arbitrary

cranelift/assembler-x64/src/fuzz.rs:291–293  ·  view source on GitHub ↗
(u: &mut arbitrary::Unstructured<'a>)

Source from the content-addressed store, hash-verified

289
290impl<'a> Arbitrary<'a> for FuzzReg {
291 fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<Self> {
292 Ok(Self(u.int_in_range(0..=15)?))
293 }
294}
295
296impl AsReg for FuzzReg {

Callers 1

smokeFunction · 0.45

Calls 3

OkFunction · 0.85
fromFunction · 0.85
newFunction · 0.50

Tested by 1

smokeFunction · 0.36