2
Fork 1
mirror of https://sourceware.org/git/valgrind.git synced 2025-11-15 15:53:50 +00:00
No description
Find a file
2025-11-15 14:33:48 +01:00
auxprogs Silence false positive failure of LTP munmap01 2025-10-24 17:08:18 +02:00
cachegrind Warnings: fix executable stack warnings from x86 assmebler tests. 2025-11-11 13:15:51 +00:00
callgrind Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
coregrind Darwin launcher: executable path changes 2025-11-15 14:33:48 +01:00
dhat Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
docs doc: add client_syscall_arguments.txt to EXTRA_DIST 2025-11-06 18:43:17 +01:00
drd Darwin: deprecated warning cleanup 2025-10-25 23:04:37 +02:00
exp-bbv Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
gdbserver_tests FreeBSD regtest: add comments for a sched_setaffinity equivalent 2025-11-07 20:40:21 +01:00
helgrind regtest: fix typo in previous commmit that was supposed to fix deprecated declaration warnings 2025-10-26 09:33:32 +01:00
include Bug 511713 - Refactor syscall argument handling 2025-11-06 20:36:03 +01:00
lackey Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
m4
massif Darwin: deprecated warning cleanup 2025-10-25 23:04:37 +02:00
memcheck Darwin regtest: filter and quieten sh-mem-vec256-plo-yes/no 2025-11-15 11:41:04 +01:00
mpi warnings: one more -Wno-deprecated-declarations flag 2025-10-29 08:06:28 +01:00
nightly
none s390x: Support FPC rounding mode 0b111 2025-11-15 12:27:27 +00:00
perf Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
shared Darwin redirs: add several str* amd mem* redirs to vg_replace_strmem.c 2025-11-09 21:57:01 +01:00
solaris
tests Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
VEX s390x: Support FPC rounding mode 0b111 2025-11-15 12:27:27 +00:00
.clang-format
.dir-locals.el
.git-blame-ignore-revs
.gitignore Darwin: add redir for wcpncpy 2025-11-03 21:56:42 +01:00
AUTHORS
autogen.sh
bionic.supp
configure.ac Bug 511972 - valgrind-3.26.0 tests fail to build on upcomig gcc-16: unrecognized command-line option '-Wno-alloc-size-larger-than=18446744073709551615' 2025-11-12 21:46:23 +01:00
COPYING Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
COPYING.DOCS
darwin9-drd.supp
darwin9.supp
darwin10-drd.supp
darwin10.supp
darwin11.supp
darwin12.supp
darwin13.supp
darwin14.supp
darwin15.supp
darwin16.supp
darwin17.supp Darwin suppression: add a leak suppression for fwrite 2025-11-01 13:19:11 +01:00
freebsd-drd.supp
freebsd-helgrind-dbgrtld.supp
freebsd-helgrind.supp
freebsd.supp
glibc-2.2-LinuxThreads-helgrind.supp
glibc-2.2.supp
glibc-2.3.supp
glibc-2.4.supp
glibc-2.5.supp
glibc-2.6.supp
glibc-2.7.supp
glibc-2.X-drd.supp.in
glibc-2.X-helgrind.supp.in
glibc-2.X.supp.in
Makefile.all.am
Makefile.am
Makefile.tool-tests.am
Makefile.tool.am
Makefile.vex.am
musl.supp
NEWS Bug 512037 - malloc trace does not print free size or alignment 2025-11-13 20:32:28 +01:00
NEWS.old
NEWS.older
README Upgrade to GNU General Public License version 3 2025-10-18 00:55:07 +02:00
README.aarch64
README.android
README.android_emulator
README.freebsd
README.mips
README.riscv64
README.s390
README.solaris
README_DEVELOPERS
README_DEVELOPERS_processes
README_MISSING_SYSCALL_OR_IOCTL
README_PACKAGERS
solaris11.supp
solaris12.supp
valgrind.pc.in
valgrind.spec.in
vg-in-place
xfree-3.supp
xfree-4.supp

Release notes for Valgrind
~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are building a binary package of Valgrind for distribution,
please read README_PACKAGERS.  It contains some important information.

If you are developing Valgrind, please read README_DEVELOPERS.  It contains
some useful information.

For instructions on how to build/install, see the end of this file.

If you have problems, consult the FAQ to see if there are workarounds.


Executive Summary
~~~~~~~~~~~~~~~~~
Valgrind is a 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 seven 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 two heap profilers. It also includes
one experimental tool: a SimPoint basic block vector generator.

Valgrind is closely tied to details of the CPU, operating system and to
a lesser extent, compiler and basic C libraries. This makes it difficult
to make it portable.  Nonetheless, it is available for the following
platforms: 

- X86/Linux
- AMD64/Linux
- PPC32/Linux
- PPC64/Linux
- ARM/Linux
- ARM64/Linux
- X86/macOS
- AMD64/macOS
- S390X/Linux
- MIPS32/Linux
- MIPS64/Linux
- nanoMIPS/Linux
- X86/Solaris
- AMD64/Solaris
- X86/FreeBSD
- AMD64/FreeBSD
- ARM64/FreeBSD

Note that AMD64 is just another name for x86_64, and Valgrind runs fine
on Intel processors.  Also note that the core of macOS is called
"Darwin" and this name is used sometimes.

Valgrind is licensed under the GNU General Public License, version 3.
Read the file COPYING in the source distribution for details.

However: if you contribute code, you need to make it available as GPL
version 3 or later, and not 3-only.


Documentation
~~~~~~~~~~~~~
A comprehensive user guide is supplied.  Point your browser at
$PREFIX/share/doc/valgrind/manual.html, where $PREFIX is whatever you
specified with --prefix= when building.


Building and installing it
~~~~~~~~~~~~~~~~~~~~~~~~~~
To install from the GIT repository:

  0. Clone the code from GIT:
     git clone https://sourceware.org/git/valgrind.git
     There are further instructions at
     http://www.valgrind.org/downloads/repository.html.

  1. cd into the source directory.

  2. Run ./autogen.sh to setup the environment (you need the standard
     autoconf tools to do so).

  3. Continue with the following instructions...

To install from a tar.bz2 distribution:

  4. Run ./configure, with some options if you wish.  The only interesting
     one is the usual --prefix=/where/you/want/it/installed.

  5. Run "make".

  6. Run "make install", possibly as root if the destination permissions
     require that.

  7. See if it works.  Try "valgrind ls -l".  Either this works, or it
     bombs out with some complaint.  In that case, please let us know
     (see http://valgrind.org/support/bug_reports.html).

Important!  Do not move the valgrind installation into a place
different from that specified by --prefix at build time.  This will
cause things to break in subtle ways, mostly when Valgrind handles
fork/exec calls.


The Valgrind Developers