Install this package:
emerge -a dev-debug/valgrind
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-debug/valgrind
Or alternatively:
emerge --autounmask-write -a dev-debug/valgrind
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | -* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos ~x64-solaris | 0 |
| 3.26.0_p1 | 8 | -* amd64 ~arm arm64 ppc ppc64 ~riscv x86 ~x64-macos ~x64-solaris | 0 |
| 3.26.0 | 8 | -* amd64 arm arm64 ppc ppc64 ~riscv x86 ~x64-macos ~x64-solaris | 0 |
<pkgmetadata> <maintainer type="project"> <email>toolchain@gentoo.org</email> <name>Gentoo Toolchain Project</name> </maintainer> <longdescription> Valgrind is a GPL'd tool to help you find memory-management problems in your programs. When a program is run under Valgrind's supervision, all reads and writes of memory are checked, and calls to malloc/new/free/delete are intercepted. As a result, Valgrind can detect problems such as - Use of uninitialised memory - Reading/writing memory after it has been free'd - Reading/writing off the end of malloc'd blocks - Reading/writing inappropriate areas on the stack - Memory leaks -- where pointers to malloc'd blocks are lost forever - Passing of uninitialised and/or unaddressible memory to system calls - Mismatched use of malloc/new/new [] vs free/delete/delete [] - Some abuses of the POSIX Pthreads API </longdescription> <upstream> <remote-id type="cpe">cpe:/a:valgrind:valgrind</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-debug/valgrind |
euse -E <flag> -p dev-debug/valgrind |
euse -D <flag> -p dev-debug/valgrind
| Flag | Description | 9999 | 3.26.0_p1 | 3.26.0 |
|---|---|---|---|---|
| mpi | Add MPI (Message Passing Interface) layer to the apps that support it | ✓ | ✓ | ✓ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | valgrind-3.26.0-patches-1.tar.xz | 8092 bytes |
| DIST | valgrind-3.26.0.tar.bz2 | 17182495 bytes |
| DIST | valgrind-3.26.0.tar.bz2.asc | 228 bytes |