Skip to content
/ heob Public
forked from ssbssa/heob

Detects buffer overruns and memory leaks.

License

Notifications You must be signed in to change notification settings

siyuhong/heob

 
 

Repository files navigation

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.

About

Detects buffer overruns and memory leaks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.9%
  • JavaScript 8.6%
  • C++ 6.9%
  • Makefile 1.5%
  • QML 0.5%
  • Batchfile 0.5%
  • CSS 0.1%