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

Function bucket_any

hail-fuzz/src/coverage.rs:255–260  ·  view source on GitHub ↗
(count: u8)

Source from the content-addressed store, hash-verified

253/// Buckets inputs into either hit or not hit.
254#[rustfmt::skip]
255const fn bucket_any(count: u8) -> u8 {
256 match count {
257 0 => 0,
258 _ => 1,
259 }
260}
261
262/// An implementation of the count classification scheme from AFL. Each edge count is bucketed such
263/// that each bit in the output byte corresponds to a range of counts.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected