Debug Malloc (Dmalloc) Library Release Notes
Version: Release 5.5.0
Last-Version: 5.4.2
Date: February 8, 2007
Overview
New Functionality
Dmalloc Utility
Debug Tokens
settings.dist
Installation
Programming
Environmental Variables
Bugs Fixed
A number of features and bug fixes in this release. I'm sure I've
mised some patch or bug fix. Please ping me if I've missed
something.
- Added the dmalloc_get_stats() function to report on internal heap
statistics.
- Added file/line number reporting for the function argument
checking features. WARNING: this requires a recompilation of
all code compiled with -DDMALLOC_FUNC_CHECK.
- Improved the usage output messages from dmalloc.
-
Improved some of the dmalloc error string representations to better
identify internal errors.
None.
None.
- Added better checking for mmap compatibility during autoconfig.
- Added patches to [hopefully] improve the building under Mac OSX.
- I've increased the internal default basic block size to 32k from
16k. Most architectures have getpagesize which overrides it.
- Improved the dmalloc_t test program. Added better error code
output. Improved it's ability to test small heap areas.
- Improved some of the error values to better identify internal
errors.
- I've added the dmalloc_get_stats() function which allows the
caller to get a number of internal heap statistics such as current and
maximum allocations and number of pointers.
- I've added support for overloading the strndup function.
- I've added file and line number information for the overloading
of the functions for argument checking.
- I've added warning if memcpy is copying overlapping memory and
the memmove fucntion is available.
None.
- Made a number of documentation improvements.
- Fixed the Makefile to install libs as 755.
- Added some fixes for Compaq's C compiler.
- Fixed a problem where if the LARGEST_ALLOCATION is set to 0,
dmalloc_t still checks it.
- Fixed a problem with double free not reporting ERROR_ALREADY_FREE.
- Fixed some problems with function argument checking and length
arguments. The library was not handling strncmp correctly for
example.
Dmalloc Home Page.
Copyright 2004 Gray Watson.