blob: 63e58202eeaa8129651d55c9ea8a360fdc3b4827 [file] [log] [blame]
sewardja9a2dcf2002-11-11 00:20:07 +00001<html>
2 <head>
3 <style type="text/css">
4 body { background-color: #ffffff;
5 color: #000000;
6 font-family: Times, Helvetica, Arial;
7 font-size: 14pt}
8 h4 { margin-bottom: 0.3em}
9 code { color: #000000;
10 font-family: Courier;
11 font-size: 13pt }
12 pre { color: #000000;
13 font-family: Courier;
14 font-size: 13pt }
15 a:link { color: #0000C0;
16 text-decoration: none; }
17 a:visited { color: #0000C0;
18 text-decoration: none; }
19 a:active { color: #0000C0;
20 text-decoration: none; }
21 </style>
22 <title>Valgrind</title>
23 </head>
24
25<body bgcolor="#ffffff">
26
27<a name="title">&nbsp;</a>
28<h1 align=center>Valgrind, version 2.0.0</h1>
sewardj240838d2003-04-03 22:09:36 +000029<center>This manual was last updated on 3 April 2003</center>
sewardja9a2dcf2002-11-11 00:20:07 +000030<p>
31
32<center>
33<a href="mailto:jseward@acm.org">jseward@acm.org</a>,
34 <a href="mailto:njn25@cam.ac.uk">njn25@cam.ac.uk</a><br>
sewardj64522142003-03-16 01:12:16 +000035Copyright &copy; 2000-2003 Julian Seward, Nick Nethercote
sewardja9a2dcf2002-11-11 00:20:07 +000036<p>
37
38Valgrind is licensed under the GNU General Public License, version
392<br>
40
41An open-source tool for debugging and profiling Linux-x86 executables.
42</center>
43
44<p>
45
46<hr width="100%">
47<a name="contents"></a>
48<h2>Contents of this manual</h2>
49
sewardjf555ac72002-11-18 00:07:28 +000050<h4>1&nbsp; <a href="coregrind_intro.html#intro">Introduction</a></h4>
51 1.1&nbsp; <a href="coregrind_intro.html#intro-overview">
52 An overview of Valgrind</a><br>
53 1.2&nbsp; <a href="coregrind_intro.html#intro-navigation">
54 How to navigate this manual</a>
55 <br>
56 1.2.1&nbsp; <a href="coregrind_intro.html#intro-migrating">
57 For users migrating from valgrind-1.0.X</a>
sewardja9a2dcf2002-11-11 00:20:07 +000058
sewardjf555ac72002-11-18 00:07:28 +000059<h4>2&nbsp; <a href="coregrind_core.html#core">
60 Using and understanding the Valgrind core services
61 </a></h4>
62 2.1&nbsp; <a href="coregrind_core.html#core-whatdoes">
63 What it does with your program</a><br>
64 2.2&nbsp; <a href="coregrind_core.html#started">
65 Getting started</a><br>
66 2.3&nbsp; <a href="coregrind_core.html#comment">
67 The commentary</a><br>
68 2.4&nbsp; <a href="coregrind_core.html#report">
69 Reporting of errors</a><br>
70 2.5&nbsp; <a href="coregrind_core.html#suppress">
71 Suppressing errors</a><br>
72 2.6&nbsp; <a href="coregrind_core.html#flags">
njnb29d4cb2003-08-29 11:42:50 +000073 Command-line flags for the Valgrind core</a><br>
sewardjf555ac72002-11-18 00:07:28 +000074 2.7&nbsp; <a href="coregrind_core.html#clientreq">
75 The Client Request mechanism</a><br>
76 2.8&nbsp; <a href="coregrind_core.html#pthreads">
77 Support for POSIX pthreads</a><br>
78 2.9&nbsp; <a href="coregrind_core.html#signals">
79 Handling of signals</a><br>
80 2.10&nbsp; <a href="coregrind_core.html#install">
81 Building and installing</a><br>
82 2.11&nbsp; <a href="coregrind_core.html#problems">
83 If you have problems</a><br>
84 2.12&nbsp; <a href="coregrind_core.html#limits">
85 Limitations</a><br>
86 2.13&nbsp; <a href="coregrind_core.html#howworks">
87 How it works -- a rough overview</a><br>
88 2.14&nbsp; <a href="coregrind_core.html#example">
89 An example run</a><br>
sewardja9a2dcf2002-11-11 00:20:07 +000090
sewardjf555ac72002-11-18 00:07:28 +000091<h4>3&nbsp; <a href="mc_main.html#mc-top">
92 Memcheck: a heavyweight memory checker</a></h4>
sewardja9a2dcf2002-11-11 00:20:07 +000093
sewardjf555ac72002-11-18 00:07:28 +000094<h4>4&nbsp; <a href="cg_main.html#cg-top">
95 Cachegrind: a cache-miss profiler</a></h4>
sewardja9a2dcf2002-11-11 00:20:07 +000096
sewardjf555ac72002-11-18 00:07:28 +000097<h4>5&nbsp; <a href="ac_main.html#ac-top">
98 Addrcheck: a lightweight memory checker</a></h4>
sewardja9a2dcf2002-11-11 00:20:07 +000099
sewardjf555ac72002-11-18 00:07:28 +0000100<h4>6&nbsp; <a href="hg_main.html#hg-top">
101 Helgrind: a data-race detector</a></h4>
sewardja9a2dcf2002-11-11 00:20:07 +0000102
njn50aca9e2003-03-25 13:38:35 +0000103<p>
104The following is not part of the user manual. It describes how you can
105write skins for Valgrind, in order to make new program supervision
106tools.
107
108<h4>7&nbsp; <a href="coregrind_skins.html">
109 Valgrind Skins</a></h4>
110
111<p>
sewardjf555ac72002-11-18 00:07:28 +0000112The following are not part of the user manual. They describe internal
113details of how Valgrind works. Reading them may rot your mind. You
114have been warned.
sewardja9a2dcf2002-11-11 00:20:07 +0000115
njn50aca9e2003-03-25 13:38:35 +0000116<h4>8&nbsp; <a href="mc_techdocs.html#mc-techdocs">
sewardjf555ac72002-11-18 00:07:28 +0000117 The design and implementation of Valgrind</a></h4>
118
njn50aca9e2003-03-25 13:38:35 +0000119<h4>9&nbsp; <a href="cg_techdocs.html#cg-techdocs">
sewardjf555ac72002-11-18 00:07:28 +0000120 How Cachegrind works</a></h4>
sewardja9a2dcf2002-11-11 00:20:07 +0000121
122<hr width="100%">
123
124