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

Method add

hail-fuzz/src/queue.rs:211–216  ·  view source on GitHub ↗
(&mut self, state: &State)

Source from the content-addressed store, hash-verified

209 }
210
211 pub fn add(&mut self, state: &State) -> InputId {
212 let id = self.add_data(state.input.clone());
213 self.test_cases[id].is_import = state.is_import;
214 self.add_to_global_metadata(id, state);
215 id
216 }
217
218 fn add_to_global_metadata(&mut self, id: InputId, state: &State) {
219 self.metadata.total_input_bytes += state.input.total_bytes();

Callers 3

check_exit_stateMethod · 0.80
add_if_interestingMethod · 0.80
run_stageFunction · 0.80

Calls 3

add_dataMethod · 0.80
cloneMethod · 0.80

Tested by

no test coverage detected