macOS
brew install valgrindlocal Homebrew formula metadata
sudo port install valgrindMacPorts ports tree · devel/valgrind/Portfile · 来源: api.github.com
安装
brew install valgrindlocal Homebrew formula metadata
sudo port install valgrindMacPorts ports tree · devel/valgrind/Portfile · 来源: api.github.com
sudo apk add valgrindAlpine Linux edge package indexes · valgrind · 来源: dl-cdn.alpinelinux.org
sudo apt install valgrindDebian stable package indexes · valgrind · 来源: deb.debian.org
sudo dnf install valgrindFedora Rawhide package metadata · valgrind · 来源: dl.fedoraproject.org
nix profile install nixpkgs#valgrindnixpkgs package indexes · pkgs/by-name/va/valgrind/package.nix · 来源: api.github.com
sudo pacman -S valgrindArch Linux sync databases · valgrind · 来源: geo.mirror.pkgbuild.com
sudo zypper install valgrindopenSUSE Tumbleweed package metadata · valgrind · 来源: download.opensuse.org
概览
Dynamic analysis tools (memory, debug, profiling)
历史
Valgrind began as Julian Seward's attempt to build an open source memory-checking tool for x86/Linux in the spirit of Purify, but without source rewriting or relinking. Nicholas Nethercote's twentieth-anniversary retrospective places the first 1.0 release in July 2002, after early use by KDE developers, and notes that Cachegrind was committed in April 2002. Soon afterward the project split its generic dynamic-binary-instrumentation engine from individual analysis tools: the original memory checker became Memcheck, while Valgrind became the overall framework.
That split shaped Valgrind's long-term role. The official manual describes it as an instrumentation framework with standard tools including Memcheck for C/C++ memory errors, Cachegrind and Callgrind for cache/call profiling, Helgrind and DRD for thread errors, Massif and DHAT for heap profiling, plus smaller developer and research tools. This made Valgrind both a daily debugging command and a platform for building heavyweight dynamic-analysis experiments.
The project also became influential research and infrastructure. Nethercote records papers on Memcheck's bit-precise undefined-value tracking and Valgrind's heavyweight instrumentation architecture, and notes that later tools such as AddressSanitizer were inspired by Memcheck while making different speed/coverage tradeoffs. By the 2010s Seward and Nethercote had moved into emeritus roles, with many other contributors and Mark Wielaard as lead maintainer, but Valgrind remained a reference tool for deep user-space dynamic analysis.
Adoption followed the places where native-code correctness bugs are expensive: C and C++ applications, libraries, language runtimes, databases, browsers, scientific programs, embedded software, and automated regression suites. The Valgrind site emphasizes that it works on existing binaries without recompilation and that it has been used on projects ranging from personal code to very large codebases. Its standard package-nerd usage remains direct and boring: compile with debug symbols, run a program under `valgrind` or a selected `--tool`, inspect source-mapped diagnostics, and, for CI or release checks, fail builds on leaks, invalid accesses, or concurrency issues.
Adoption followed the places where native-code correctness bugs are expensive: C and C++ applications, libraries, language runtimes, databases, browsers, scientific programs, embedded software, and automated regression suites. The Valgrind site emphasizes that it works on existing binaries without recompilation and that it has been used on projects ranging from personal code to very large codebases. Its standard package-nerd usage remains direct and boring: compile with debug symbols, run a program under `valgrind` or a selected `--tool`, inspect source-mapped diagnostics, and, for CI or release checks, fail builds on leaks, invalid accesses, or concurrency issues.
安全态势
没有找到 valgrind 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
callgrind_annotate | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
callgrind_control | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
cg_annotate | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
cg_diff | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
cg_merge | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
ms_print | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
valgrind | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
valgrind-di-server | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
valgrind-listener | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
vgdb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
vgstack | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:valgrind |
|---|---|
| 版本 | 3.27.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.valgrind.org/ |
| 最后更新 | 2026-05-20T16:57:52Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
valgrind 1:3.24.0-3
instrumentation framework for building dynamic analysis tools
sudo apt install valgrindvalgrind-mpi 1:3.24.0-3
instrumentation framework for building dynamic analysis tools (MPI module)
sudo apt install valgrind-mpivalgrind
nix profile install nixpkgs#valgrindvalgrind 1:3.22.0-0ubuntu3
instrumentation framework for building dynamic analysis tools
sudo apt install valgrindvalgrind-mpi 1:3.22.0-0ubuntu3
instrumentation framework for building dynamic analysis tools (MPI module)
sudo apt install valgrind-mpivalgrind 3.25.1-r2
Tool to help find memory-management problems in programs
sudo apk add valgrindvalgrind-dev 3.25.1-r2
Tool to help find memory-management problems in programs (development files)
sudo apk add valgrind-devvalgrind-doc 3.25.1-r2
Tool to help find memory-management problems in programs (documentation)
sudo apk add valgrind-docvalgrind-scripts 3.25.1-r2
Tool to help find memory-management problems in programs (perl+python cachegrind/callgrind script tools)
sudo apk add valgrind-scriptsvalgrind 3.27.1-2.fc45
Dynamic analysis tools to detect memory or thread bugs and profile
sudo dnf install valgrindvalgrind-devel 3.27.1-2.fc45
Development files for valgrind aware programs
sudo dnf install valgrind-develvalgrind-docs 3.27.1-2.fc45
Documentation for valgrind tools, scripts and gdb integration
sudo dnf install valgrind-docsvalgrind-gdb 3.27.1-2.fc45
Tools for integrating valgrind and gdb
sudo dnf install valgrind-gdbvalgrind-openmpi 3.27.1-2.fc45
OpenMPI support for valgrind
sudo dnf install valgrind-openmpivalgrind-scripts 3.27.1-2.fc45
Scripts for post-processing valgrind tool output
sudo dnf install valgrind-scriptsvalgrind-tools-devel 3.27.1-2.fc45
Development files for building valgrind tools.
sudo dnf install valgrind-tools-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.