---
title: Dmalloc
slug: dmalloc
qid: Q4037462
snapshot: dmalloc-463273-14138bd87d50f097
content_hash: 14138bd87d50f097ca956b5d4d40dde250814b13a887b04b6aa4e9cfd2670152
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1262281560
tags: [109380405, 22992032, 23468805, 27507215]
---

# Dmalloc

> [!note] Provenance
> Snapshot `dmalloc-463273-14138bd87d50f097` · content root `14138bd87d50f097…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1262281560> · Licensed CC BY-SA 4.0

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.

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== ==External links== Dmalloc Official web site Dmalloc Github web site Memory Leak Detection in Embedded Systems Using Dmalloc With the Solaris OS and Sun Studio Compilers
