valgrind: Memory error detector, call graph generator, runtime profiler

Description

Valgrind is an 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.

The Valgrind distribution currently includes six production-quality tools: a memory error detector, two thread error detectors, a cache and branch-prediction profiler, a call-graph generating cache and branch-prediction profiler, and a heap profiler. It also includes three experimental tools: a heap/stack/global array overrun detector, a second heap profiler that examines how heap blocks are used, and a SimPoint basic block vector generator.

License

Valgrind is Open Source / Free Software, and is freely available under the GNU General Public License, version 2.

Upstream Contact

Type

optional

Dependencies

Version Information

Equivalent System Packages

$ apk add valgrind
$ sudo yum install valgrind vagrind-devel
$ brew install valgrind
$ sudo port install valgrind
$ sudo zypper install valgrind
$ sudo xbps-install valgrind

See https://repology.org/project/valgrind/versions

However, these system packages will not be used for building Sage because spkg-configure.m4 has not been written for this package; see Issue #27330 for more information.