heob - heap observer

build status latest build

heob overrides the heap functions of the called process to detect buffer overruns and memory leaks.

On buffer overruns an access violation is raised, and stacktraces of the offending instruction and buffer allocation are provided.

When the program exits normally, stacktraces for all leaks are shown.

compilation:

MinGW

The location of dwarfstack.h has to be provided.

make CPPFLAGS="-I../dwarfstack/include"

Or disable dwarfstack completely (this is the default).

make CPPFLAGS="-DNO_DWARFSTACK"

MSVC

Run build.bat in the source directory.

notes:

To get file/line information in stacktraces of executables with DWARF debug information (gcc), dwarfstack.dll needs to be available. For PDB debug information, dbghelp.dll is used.

Heob

Detects buffer overruns and memory leaks.

Heob Info

⭐ Stars96
🔗 Source Codegithub.com
🕒 Last Update10 months ago
🕒 Created7 years ago
🐞 Open Issues0
➗ Star-Issue RatioInfinity
😎 Authorssbssa