All apps/Valgrind

Valgrind

valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools.

Runs as valgrind|macOS, Linux, Windows|valgrind.org

Command form

ai-draft · 2 tasks · 12 fields

Runs one program under a Valgrind tool with common leak, error and logging options. Arguments for the program itself are not part of this form; add them after the program at the prompt.

Opens the form; the finished command lands at your prompt, unrun
otty gui valgrind
Run a program under ValgrindExample values, fixed in this page — nothing here reaches a terminal
Basic
Program to run*
file
Leak check
Fullenum
Leak kinds to show
allstring
Track origins of uninitialised values
Yesenum
Log file
file
TasksEach one presets the form for one job
Full leak check
programleak_checkshow_leak_kindstrack_originslog_file
Fail on errors
programleak_checkerror_exitcodesuppressions
ParametersOnly these flags are editable in the form
Program to run
path · positional 0
Tool
string
--toolmemcheckcachegrindcallgrindhelgrinddrdmassifdhat
Leak check
enum
--leak-checknosummaryyesfull
Leak kinds to show
Comma-separated set, e.g. definite,possible or all.
string
--show-leak-kindsdefinite,possibleall
Track origins of uninitialised values
enum
--track-originsyesno
Trace child processes
enum
--trace-childrenyesno
Stack trace depth
integer
--num-callers
Exit code on errors
integer
--error-exitcode
Log file
path
--log-file
Suppressions file
path
--suppressions
Verbosity
count
--verbose-v
Quiet
boolean
--quiet-q
SourcesEvery flag above is checked against these
manual
valgrind [valgrind-options] [your-program] [your-program-options] --tool=<toolname> [default: memcheck] memcheck, cachegrind, callgrind, helgrind, drd, massif, dhat, lackey, none, -q, --quiet -v, --verbose --log-file=<filename> --num-callers=<number> [default: 12] --error-exitcode=<number> [default: 0] --leak-check=<no|summary|yes|full> [default: summary] --…
manualdebian unstable

manpages.debian.org

Before it fills your prompt, Otty checks the installed valgrind against its version. A form that does not match your version is not offered.