DUMA (Detect Unintended Memory Access) stops yourprogram on the exact instruction that overruns (orunderruns) a malloc() memory buffer. GDB will thendisplay the source-code line that causes the bug.It works by using the virtual-memory hardware tocreate a red-zone at the border of each buffer:touch that, and your program stops. It can catchformerly impossible-to-catch overrun bugs. DUMA isa fork of Bruce Perens' Electric Fence library.
License: GNU General Public License (GPL)
Changes:
[_duma_]strncpy() doesn't call strlen() any more. A patch for using the shared library under Solaris has been applied. There are other minor fixes.
More...