MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / clear

Method clear

hail-fuzz/src/input.rs:38–42  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

36 }
37
38 pub fn clear(&mut self) {
39 self.bytes.clear();
40 self.cursor = 0;
41 self.sizes = 0;
42 }
43
44 /// Returns whether the stream has been read as a certain sized value.
45 pub fn read_as(&self, size: u32) -> bool {

Callers 12

initialize_vmMethod · 0.45
handle_exceptionMethod · 0.45
set_inputMethod · 0.45
update_inputMethod · 0.45
resetMethod · 0.45
check_exit_stateMethod · 0.45
clone_fromMethod · 0.45
crate_snapshot_afterMethod · 0.45
find_input_for_testsFunction · 0.45
resetMethod · 0.45
update_mapping_cacheMethod · 0.45
add_itemMethod · 0.45

Calls

no outgoing calls

Tested by 1

find_input_for_testsFunction · 0.36