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

Method seed

crates/fuzzing/src/oom.rs:299–302  ·  view source on GitHub ↗

Configure the seed for the RNG used in `fuzz` mode. The default is `0`.

(&mut self, seed: u64)

Source from the content-addressed store, hash-verified

297 ///
298 /// The default is `0`.
299 pub fn seed(&mut self, seed: u64) -> &mut Self {
300 self.seed = seed;
301 self
302 }
303
304 /// Repeatedly run the given test function, injecting OOMs at different
305 /// times and checking that it correctly handles them.

Callers 4

wasm_mutateFunction · 0.80
every_op_generatedFunction · 0.80
arbitraryMethod · 0.80
executeFunction · 0.80

Calls

no outgoing calls

Tested by 1

every_op_generatedFunction · 0.64