mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 18:07:34 +00:00

We'll now try to detect crashes that were due to dereferencing nullptr, uninitialized malloc() memory, or recently free()'d memory. It's not perfect but I think it's pretty good. :^) Also added some color to the most important parts of the crash log, and added some more modes to /bin/crash for exercising this code. Fixes #243.
5 lines
75 B
C
5 lines
75 B
C
#pragma once
|
|
|
|
#define MALLOC_SCRUB_BYTE 0xdc
|
|
#define FREE_SCRUB_BYTE 0xed
|
|
|