valgrind

Wrapper for a set of expert tools for profiling, optimizing and debugging programs. Commonly used tools include memcheck, cachegrind, callgrind, massif, helgrind, and drd. More information: <http://www.valgrind.org>.

Debian Debian
RUN apt-get update && \ apt-get install -y valgrind
Ubuntu
RUN apt-get update && \ apt-get install -y valgrind
Alpine
RUN apk add valgrind
Arch Arch Linux
RUN pacman -S --noconfirm valgrind
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y valgrind
CentOS
RUN yum install -y valgrind-1
Fedora
RUN dnf install -y valgrind-1
Raspbian
RUN apt-get update && \ apt-get install -y valgrind
click the source code to copy install valgrind on any operating system with command-not-found.com