Article · Wikipedia archive · Last revised May 28, 2026

Dmalloc

Dmalloc is a C memory debugger library written by Gray Watson to assist programmers in finding a variety of dynamic memory allocation mistakes. It replaces parts of the C standard library provided by the operating system or compiler with its own versions, which produce information intended to help the programmer detect problematic code.

Last revised
May 28, 2026
Read time
≈ 1 min
Length
111 w
Citations
Source

Dmalloc is a C memory debugger library written by Gray Watson to assist programmers in finding a variety of dynamic memory allocation mistakes. It replaces parts (such as malloc) of the C standard library provided by the operating system or compiler with its own versions, which produce information intended to help the programmer detect problematic code.

Dmalloc can find memory leaks, off-by-one errors, and usage of invalid addresses in some library functions calls.

See also

See also

External links