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

Method new

hail-fuzz/src/havoc.rs:253–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251
252impl HavocMutator {
253 pub(crate) fn new() -> Self {
254 let weights = ALL_MUTATIONS.iter().map(mutation_weight).collect();
255 Self { mutation_distr: WeightedAliasIndex::new(weights).unwrap() }
256 }
257
258 #[allow(unused)]
259 fn random_weights<R: Rng>(rng: &mut R) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected