Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, apt 安装 dmalloc

查看 dmalloc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dmalloc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dmalloc

MacPorts ports tree · devel/dmalloc/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#dmalloc

nixpkgs package indexes · pkgs/by-name/dm/dmalloc/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install libdmalloc-dev

Debian stable package indexes · libdmalloc-dev · 来源: deb.debian.org

概览

软件包摘要

Debug versions of system memory management routines

命令和别名

  • dmalloc

历史

项目历史与用法

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.

时间线

  • 1992: Earliest copyright year in the official manual.
  • 2020-12: Dmalloc manual identifies version 5.6.5.

Related projects

  • Dmalloc sits in the same practical debugging space as allocator wrappers, leak checkers, and compiler/runtime sanitizers, but its official documentation focuses on replacing the standard allocation routines directly.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dmalloccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.6.5
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://dmalloc.com/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://dmalloc.com/none 置信度

安装元数据

软件包元数据

软件包键brew:dmalloc
版本5.6.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dmalloc
主页https://dmalloc.com/
仓库https://github.com/j256/dmalloc
上游文档https://dmalloc.com/docs/dmalloc.html
许可证ISC
源码归档https://dmalloc.com/releases/dmalloc-5.6.5.tgz
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedmalloc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libdmalloc-dev 5.5.2-14+b3

debug memory allocation library (development files and doc)

http://dmalloc.com/

sudo apt install libdmalloc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dmalloc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Dmalloc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdmalloc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdmalloc5 5.5.2-14+b3

debug memory allocation library

http://dmalloc.com/

sudo apt install libdmalloc5
  • Section: libs
  • Architecture: amd64
  • Source Package: dmalloc
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Dmalloc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdmalloc5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dmalloc

nix profile install nixpkgs#dmalloc
  • normalized package name match
  • 匹配方式:Dmalloc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dm/dmalloc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libdmalloc-dev 5.5.2-14build2

debug memory allocation library (development files and doc)

http://dmalloc.com/

sudo apt install libdmalloc-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: dmalloc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Dmalloc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdmalloc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libdmalloc5 5.5.2-14build2

debug memory allocation library

http://dmalloc.com/

sudo apt install libdmalloc5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: dmalloc
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Dmalloc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdmalloc5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

dmalloc

sudo port install dmalloc
  • normalized package name match
  • 匹配方式:Dmalloc
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/dmalloc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment