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

Method new

hail-fuzz/src/debug_alloc.rs:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13impl DebuggingAlloc {
14 const fn new() -> Self {
15 Self { alloc_failure: std::sync::atomic::AtomicBool::new(false) }
16 }
17
18 #[inline(always)]
19 fn check_alloc_failure(&self, ptr: *mut u8, layout: std::alloc::Layout) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected