DUMA (Detect Unintended Memory Access) is a multi-platform memory debugging library. It can detect memory leaks and buffer overruns (or underruns) in a malloc() / new memory buffer. DUMA is a fork of Bruce Perens' Electric Fence library.
sourceforge isn't maintained for many years!
suggest you want to look at https://github.com/johnsonjh/duma
This is a memory checker utility that provides memory allocation and release functionality. It uses the memory paging system to allocate a guard page after each page of memory to provide a hardware boundary that can detect memory overflows. This allows for immediate detection of buffer overflow error conditions.
There are many other memory checker programs in existence - why do we need another? This Hardware Memory Checker provides a combination of features not found in other memory...