# Dmalloc

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Dmalloc
> Markdown URL: https://mediated.wiki/source/Dmalloc.md
> Source: https://en.wikipedia.org/wiki/Dmalloc
> Source revision: 1262281560
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

'''Dmalloc''' is a [C](/source/C_(programming_language)) [memory debugger](/source/memory_debugger) library written by [Gray Watson](/source/Gray_Watson) to assist programmers in finding a variety of [dynamic memory](/source/dynamic_memory) [allocation](/source/memory_allocation) mistakes. It replaces parts (such as [malloc](/source/malloc)) of the [C standard library](/source/C_standard_library) provided by the [operating system](/source/operating_system) or [compiler](/source/compiler) with its own versions, which produce information intended to help the programmer detect problematic code.

Dmalloc can find [memory leak](/source/memory_leak)s, [off-by-one error](/source/off-by-one_error)s, and usage of invalid addresses in some library functions calls. 

==See also==
*{{section link|Memory debugger|List_of_memory_debugging_tools}}

==External links==
* [http://dmalloc.com/ Dmalloc Official web site]
* [https://github.com/j256/dmalloc Dmalloc Github web site]
* [http://www.linuxjournal.com/article/6059 Memory Leak Detection in Embedded Systems]
* [http://developers.sun.com/solaris/articles/dmalloc_solaris.html Using Dmalloc With the Solaris OS and Sun Studio Compilers]

Category:Memory management software
Category:Free memory debuggers

{{unix-stub}}

---
Adapted from the Wikipedia article [Dmalloc](https://en.wikipedia.org/wiki/Dmalloc) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Dmalloc?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
