Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
290
impl<
'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
296
impl AsReg for FuzzReg {
Callers
1
smoke
Function · 0.45
Calls
3
Ok
Function · 0.85
from
Function · 0.85
new
Function · 0.50
Tested by
1
smoke
Function · 0.36