Develop and Download Open Source Software

DUMA

Project Release infomations and Project Resources. Note that these informations are from this projects Freecode.com page and the downloads themselves may not be hosted with SourceForge.JP.

Project Release Information

2009-04-13 00:58
This release implements an alternative locking mechanism using critical sections on Win32. It adds Windows Threading to testmt.c. It uses WIN32_SEMAPHORES on Win32-Cygwin. It fixes CreateSemaphore() counts on Win32. It fixes a race condition when using macro delete. It has a bugfix in strncpy(): error check was too rigorous.
2008-04-28 02:45
The switch DUMA_ALLOW_MALLOC_0 has been removed. The switches DUMA_MALLOC_0_STRATEGY and DUMA_NEW_0_STRATEGY have been added, and now the allocator for size zero is ANSI/C++ standard compliant. Most compiler warnings have been removed. A suggestion for ~/.gdbinit and a hint on mprotectFailed() have been added. The README has been updated.
2008-03-10 03:29
There is a major bugfix for a hang of the testoperators test case on 64-bit Linux platforms (x86_64 and MIPS64).
2008-01-25 22:30
This release adds the environment variable 'DUMA_CHECK_FREQ' to autmatically check all memory no man's land at each n'th allocation/deallocation. n=0 to deactivate automatic checks. README.txt has been updated.
2008-01-21 01:57
A major bugfix in thread safety.

Project Resources

http://freecode.com/urls/7d85e270189c7b3ddc1fa6d7d7ba180c
http://freecode.com/urls/3fbbd197052f436e5430818a9f3eb32f
http://freecode.com/urls/55b5e87691afba1e04f31c73fd3a437d
http://freecode.com/urls/d27c14e629cdd69e1a0441b2eff67a2b
http://freecode.com/projects/duma

Project Description

DUMA (Detect Unintended Memory Access) stops your
program on the exact instruction that overruns (or
underruns) a malloc() memory buffer. GDB will then
display the source-code line that causes the bug.
It works by using the virtual-memory hardware to
create a red-zone at the border of each buffer:
touch that, and your program stops. It can catch
formerly impossible-to-catch overrun bugs. DUMA is
a fork of Bruce Perens' Electric Fence library.

(This Description is auto-translated)