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

Method favored_metric

hail-fuzz/src/queue.rs:303–305  ·  view source on GitHub ↗

Prefer smaller inputs, but maximize the number of streams that have been found.

(&self)

Source from the content-addressed store, hash-verified

301
302 /// Prefer smaller inputs, but maximize the number of streams that have been found.
303 fn favored_metric(&self) -> impl Ord {
304 (std::cmp::Reverse(self.metadata.streams), self.metadata.len)
305 }
306
307 /// Computes the ratio to use for length extension compared to havoc style mutations for this
308 /// input.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected