DebugAllocatorOverflows
Description
Number of canary-corruption events caught and reported so far.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
AllocDebug.c:34:
ok = ok && DebugAllocatorLiveBytes(dbg) == 0;
ok = ok && DebugAllocatorDoubleFrees(dbg) == 0;
ok = ok && DebugAllocatorOverflows(dbg) == 0;
DebugAllocatorDestroy(dbg, ALLOCATOR_OF(&meta));- In
AllocDebug.c:78:
AllocatorFree(adbg, buf, 16);
bool ok = DebugAllocatorOverflows(dbg) == 1;
DebugAllocatorDestroy(dbg, ALLOCATOR_OF(&meta));- In
Debug.c:366:
}
size DebugAllocatorOverflows(const DebugAllocator *self) {
if (!self)
return 0;
Last updated on