HOME

TheInfoList



OR:

Dmalloc is a C memory debugger library written by Gray Watson to assist programmers in finding a variety of
dynamic memory Memory management is a form of resource management applied to computer memory. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when ...
allocation mistakes. It replaces parts (such as
malloc C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely , , , and . The C++ programming language includ ...
) of the C standard library provided by the
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
or
compiler In computing, a compiler is a computer program that translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primarily used for programs that ...
with its own versions, which produce information intended to help the programmer detect problematic code. Dmalloc can find
memory leak In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in a way that memory which is no longer needed is not released. A memory leak may also happen when an object ...
s, off-by-one errors, and usage of invalid addresses in some library functions calls.


See also

* Memory debugger


External links


Dmalloc Official web site

Dmalloc Github web site

Memory Leak Detection in Embedded Systems


Memory management software Free memory debuggers {{unix-stub