valgrind

valgrind 3.27.1

Debugging and profiling tool suite

<rendered-html><p>Valgrind is an award-winning instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.</p> </rendered-html>

https://valgrind.org/
GNU General Public License v3.0 or later
main program: valgrindprograms: callgrind_annotate, cg_merge, cg_diff, vgstack, cg_annotate, callgrind_control, ms_print, vgdb, valgrind-di-server, valgrind, valgrind-listener
Platforms (19)
mips64el-linuxmips64-linuxpowerpc-linuxarmv7l-linuxmipsel-linuxpowerpc64-linuxpowerpc64le-linuxriscv64-linux
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  valgrind
];
Ad-hoc shell
nix-shell -p valgrind
Flake (nix run)
nix run nixpkgs#valgrind