sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 1 | <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"> </a> |
| 28 | <h1 align=center>Valgrind, version 2.0.0</h1> |
sewardj | 240838d | 2003-04-03 22:09:36 +0000 | [diff] [blame^] | 29 | <center>This manual was last updated on 3 April 2003</center> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 30 | <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> |
sewardj | 6452214 | 2003-03-16 01:12:16 +0000 | [diff] [blame] | 35 | Copyright © 2000-2003 Julian Seward, Nick Nethercote |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 36 | <p> |
| 37 | |
| 38 | Valgrind is licensed under the GNU General Public License, version |
| 39 | 2<br> |
| 40 | |
| 41 | An 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 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 50 | <h4>1 <a href="coregrind_intro.html#intro">Introduction</a></h4> |
| 51 | 1.1 <a href="coregrind_intro.html#intro-overview"> |
| 52 | An overview of Valgrind</a><br> |
| 53 | 1.2 <a href="coregrind_intro.html#intro-navigation"> |
| 54 | How to navigate this manual</a> |
| 55 | <br> |
| 56 | 1.2.1 <a href="coregrind_intro.html#intro-migrating"> |
| 57 | For users migrating from valgrind-1.0.X</a> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 58 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 59 | <h4>2 <a href="coregrind_core.html#core"> |
| 60 | Using and understanding the Valgrind core services |
| 61 | </a></h4> |
| 62 | 2.1 <a href="coregrind_core.html#core-whatdoes"> |
| 63 | What it does with your program</a><br> |
| 64 | 2.2 <a href="coregrind_core.html#started"> |
| 65 | Getting started</a><br> |
| 66 | 2.3 <a href="coregrind_core.html#comment"> |
| 67 | The commentary</a><br> |
| 68 | 2.4 <a href="coregrind_core.html#report"> |
| 69 | Reporting of errors</a><br> |
| 70 | 2.5 <a href="coregrind_core.html#suppress"> |
| 71 | Suppressing errors</a><br> |
| 72 | 2.6 <a href="coregrind_core.html#flags"> |
| 73 | Command-line flags for the Valgrind code</a><br> |
| 74 | 2.7 <a href="coregrind_core.html#clientreq"> |
| 75 | The Client Request mechanism</a><br> |
| 76 | 2.8 <a href="coregrind_core.html#pthreads"> |
| 77 | Support for POSIX pthreads</a><br> |
| 78 | 2.9 <a href="coregrind_core.html#signals"> |
| 79 | Handling of signals</a><br> |
| 80 | 2.10 <a href="coregrind_core.html#install"> |
| 81 | Building and installing</a><br> |
| 82 | 2.11 <a href="coregrind_core.html#problems"> |
| 83 | If you have problems</a><br> |
| 84 | 2.12 <a href="coregrind_core.html#limits"> |
| 85 | Limitations</a><br> |
| 86 | 2.13 <a href="coregrind_core.html#howworks"> |
| 87 | How it works -- a rough overview</a><br> |
| 88 | 2.14 <a href="coregrind_core.html#example"> |
| 89 | An example run</a><br> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 90 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 91 | <h4>3 <a href="mc_main.html#mc-top"> |
| 92 | Memcheck: a heavyweight memory checker</a></h4> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 93 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 94 | <h4>4 <a href="cg_main.html#cg-top"> |
| 95 | Cachegrind: a cache-miss profiler</a></h4> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 96 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 97 | <h4>5 <a href="ac_main.html#ac-top"> |
| 98 | Addrcheck: a lightweight memory checker</a></h4> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 99 | |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 100 | <h4>6 <a href="hg_main.html#hg-top"> |
| 101 | Helgrind: a data-race detector</a></h4> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 102 | |
njn | 50aca9e | 2003-03-25 13:38:35 +0000 | [diff] [blame] | 103 | <p> |
| 104 | The following is not part of the user manual. It describes how you can |
| 105 | write skins for Valgrind, in order to make new program supervision |
| 106 | tools. |
| 107 | |
| 108 | <h4>7 <a href="coregrind_skins.html"> |
| 109 | Valgrind Skins</a></h4> |
| 110 | |
| 111 | <p> |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 112 | The following are not part of the user manual. They describe internal |
| 113 | details of how Valgrind works. Reading them may rot your mind. You |
| 114 | have been warned. |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 115 | |
njn | 50aca9e | 2003-03-25 13:38:35 +0000 | [diff] [blame] | 116 | <h4>8 <a href="mc_techdocs.html#mc-techdocs"> |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 117 | The design and implementation of Valgrind</a></h4> |
| 118 | |
njn | 50aca9e | 2003-03-25 13:38:35 +0000 | [diff] [blame] | 119 | <h4>9 <a href="cg_techdocs.html#cg-techdocs"> |
sewardj | f555ac7 | 2002-11-18 00:07:28 +0000 | [diff] [blame] | 120 | How Cachegrind works</a></h4> |
sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 121 | |
| 122 | <hr width="100%"> |
| 123 | |
| 124 | |