macOS
brew install dmalloclocal Homebrew formula metadata
sudo port install dmallocMacPorts ports tree · devel/dmalloc/Portfile · source: api.github.com
brew
Debug versions of system memory management routines. Version 5.6.5 via Homebrew; verified from local package data.
install
brew install dmalloclocal Homebrew formula metadata
sudo port install dmallocMacPorts ports tree · devel/dmalloc/Portfile · source: api.github.com
sudo apt install libdmalloc-devDebian stable package indexes · libdmalloc-dev · source: deb.debian.org
nix profile install nixpkgs#dmallocnixpkgs package indexes · pkgs/by-name/dm/dmalloc/package.nix · source: api.github.com
overview
Debug versions of system memory management routines
history
Dmalloc is Gray Watson's debug memory allocation library, designed as a drop-in replacement for malloc, realloc, calloc, free, and related routines while adding runtime-configurable memory debugging.
The manual carries copyright years from 1992 to 2020 and identifies version 5.6.5 as a December 2020 release. Its feature set reflects a long-lived C debugging niche: leak tracking, fence-post write detection, file and line reporting, statistics logging, and threaded-program support.
Dmalloc's official documentation lists successful use across a wide range of Unix and non-Unix systems, including AIX, the BSDs, GNU/Hurd, HP-UX, IRIX, Linux, macOS, NeXT, OSF/DUX, SCO, Solaris, Ultrix, UnixWare, Windows, and Unicos on a Cray T3E.
Typical use links the dmalloc library into a C or C++ program, optionally includes dmalloc.h for file and line reporting, and uses the dmalloc utility plus the DMALLOC_OPTIONS environment variable to enable checks such as leak logging, heap verification, and abort-on-error behavior.
Dmalloc is historically interesting because it predates many modern sanitizers yet remains a compact, portable package-manager answer for C heap debugging. Its shell integration, runtime token model, and static-library workflow make it feel like classic Unix debugging infrastructure.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dmalloc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:dmalloc |
|---|---|
| Version | 5.6.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dmalloc |
| Homepage | https://dmalloc.com/ |
| Repository | https://github.com/j256/dmalloc |
| Upstream docs | https://dmalloc.com/docs/dmalloc.html |
| License | ISC |
| Source archive | https://dmalloc.com/releases/dmalloc-5.6.5.tgz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dmalloc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libdmalloc-dev 5.5.2-14+b3
debug memory allocation library (development files and doc)
sudo apt install libdmalloc-devlibdmalloc5 5.5.2-14+b3
debug memory allocation library
sudo apt install libdmalloc5dmalloc
nix profile install nixpkgs#dmalloclibdmalloc-dev 5.5.2-14build2
debug memory allocation library (development files and doc)
sudo apt install libdmalloc-devlibdmalloc5 5.5.2-14build2
debug memory allocation library
sudo apt install libdmalloc5dmalloc
sudo port install dmallocsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.