Valgrind
instrumentation framework for building dynamic analysis tools
TestedCommand lineDevelopmentDebuggers and profilers
Tested: works in Breadstick
- Pixel 10 Pro XL · Android 17 · Debian 13 · Valgrind 3.24's memcheck caught an invalid write and two leaks in a test program, and callgrind profiled a run.
Valgrind in Breadstick
Breadstick runs Debian's own valgrind package for ARM64, the build a Debian 13 computer with an ARM processor installs, and a test on a device, above, saw it run. It is a command line program rather than an app with a window of its own: you run it by typing its command in Breadstick's Terminal, or in any terminal window on the Linux desktop, and it needs no Desktop or Floating session running.
Commands in the package
valgrindcallgrind_annotatecallgrind_controlcg_annotatecg_diffcg_mergems_printvalgrind-di-servervalgrind-listenervalgrind.binvgdb
Type one in Breadstick's Terminal to run it.
Debuggers and profilers were tested on a phone: they debug, trace and profile the programs they start. Attaching to a program that is already running reaches only one started from the same Terminal tab, because Breadstick's Linux system runs every program under proot, which already traces it. More in the docs: The Terminal.
About Valgrind
From Debian's package description
Valgrind is a system for debugging and profiling Linux programs. With its tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting and making your programs more stable. You can also perform detailed profiling to help speed up your programs and use Valgrind to build new tools.
The Valgrind distribution currently includes six production-quality tools:
- a memory error detector (Memcheck)
- two thread error detectors (Helgrind and DRD)
- a cache and branch-prediction profiler (Cachegrind)
- a call-graph generating cache and branch-prediction profiler (Callgrind)
- a heap profiler (Massif)
It also includes three experimental tools:
- a stack/global array overrun detector (SGCheck)
- a second heap profiler that examines how heap blocks are used (DHAT)
- a SimPoint basic block vector generator (BBV)
From Debian's description of the valgrind package, under that package's license.
Related apps
- straceSystem call tracerCommand lineTested
- GDB (GNU Debugger)GNU DebuggerCommand lineTested
- RedisPersistent key-value database with network interfaceCommand lineTested
MeldCompare and merge your files- clang-formatTool to format C/C++/Obj-C codeCommand line
KDiff3A file and folder comparison and merge tool
Sources and licenses
- Name: the name people know it by, chosen for this catalog; Debian's package is valgrind.
- Summary: Debian's short description of the valgrind package, under that package's license.
- Description: Debian's description of the valgrind package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.