Meta tags:
description= Official Home Page for valgrind, a suite of tools for debugging and profiling. Automatically detect memory management and threading bugs, and perform detailed profiling. The current stable version is valgrind-3.27.1.;
keywords= Valgrind Memcheck Cachegrind Callgrind Massif Helgrind memory-management uninitialised memory memory leaks passing uninitialised memory overlapping pointers misuses of the POSIX pthreads;
Headings (most frequently used words):
tools, valgrind, tool, suite, memcheck, cachegrind, callgrind, massif, helgrind, drd, lackey, nulgrind, dhat, experimental, other, bbv,
Text of the page (most frequently used words):
the (28), and (22), for (12), memory (11), tool (10), that (9), programs (9), program (8), memcheck (8), #valgrind (7), cachegrind (7), which (7), can (7), heap (7), are (7), with (6), about (6), tools (6), information (5), basic (5), block (5), blocks (5), callgrind (4), code (4), any (4), drd (4), uses (4), helgrind (4), than (4), your (4), massif (4), source (4), areas (4), all (3), does (3), distribution (3), also (3), other (3), find (3), bbv (3), use (3), one (3), how (3), experimental (3), dhat (3), allocated (3), errors (3), posix (3), threading (3), detect (3), most (3), runs (3), slower (3), normal (3), cache (3), line (3), frees (3), suite (3), developers (2), was (2), much (2), data (2), used (2), have (2), been (2), list (2), analysis (2), point (2), each (2), run (2), allocations (2), tracks (2), lackey (2), nulgrind (2), they (2), multithreaded (2), primitives (2), thread (2), locations (2), more (2), problems (2), useful (2), profiler (2), performs (2), detailed (2), profiling (2), graph (2), includes (2), misses (2), number (2), per (2), stack (2), functions (2), level (2), values (2), result (2), uninitialised (2), not (2), best, viewed, browser, hosting, kindly, provided, sourceware, org, copyright, 2000, 2026, josef, weidendorfer, extension, provides, plus, extra, callgraphs, folded, into, main, version, available, separately, amazing, visualisation, gives, better, overview, collects, visualize, output, several, created, you, them, page, variants, patches, generates, vectors, simpoint, linear, section, entry, exit, vector, entered, during, execution, count, many, times, examining, their, inspects, every, access, comes, gui, facilitate, exploring, profile, results, included, don, very, there, testing, demonstrative, purposes, detecting, works, concepts, built, top, while, locking, order, violations, needs, less, perform, its, debugger, finds, races, looks, accessed, but, consistently, pthread_mutex_, lock, found, such, indicative, missing, synchronisation, between, threads, could, cause, hard, timing, dependent, pthreads, somewhat, feedback, especially, welcome, here, taking, regular, snapshots, produces, showing, usage, over, time, including, parts, responsible, supplemented, text, html, file, determining, where, being, 20x, kcachegrind, simulation, caches, cpu, accurately, pinpoint, sources, identifies, references, instructions, executed, function, module, whole, summaries, written, language, 100x, reports, these, soon, occur, giving, occurred, trace, called, reach, addressability, byte, initialisation, bit, single, bits, report, spurious, bitfield, operations, 30x, passes, overlapping, destination, memcpy, related, bad, double, mismatched, leaks, dangerous, ways, accesses, shouldn, yet, freed, past, end, inaccessible, detects, management, aimed, primarily, when, under, supervision, reads, writes, checked, calls, malloc, new, free, delete, intercepted, following, debugging, supported, platforms, news, gallery, help, contact, documentation,
Text of the page (random words):
valgrind tool suite information source code documentation contact how to help gallery about news tool suite supported platforms the developers valgrind s tool suite the valgrind distribution includes the following debugging and profiling tools memcheck cachegrind callgrind massif helgrind drd dhat experimental tools other tools memcheck memcheck detects memory management problems and is aimed primarily at c and c programs when a program is run under memcheck s supervision all reads and writes of memory are checked and calls to malloc new free delete are intercepted as a result memcheck can detect if your program accesses memory it shouldn t areas not yet allocated areas that have been freed areas past the end of heap blocks inaccessible areas of the stack uses uninitialised values in dangerous ways leaks memory does bad frees of heap blocks double frees mismatched frees passes overlapping source and destination memory blocks to memcpy and related functions memcheck reports these errors as soon as they occur giving the source line number at which it occurred and also a stack trace of the functions called to reach that line memcheck tracks addressability at the byte level and initialisation of values at the bit level as a result it can detect the use of single uninitialised bits and does not report spurious errors on bitfield operations memcheck runs programs about 10 30x slower than normal cachegrind cachegrind is a cache profiler it performs detailed simulation of the i1 d1 and l2 caches in your cpu and so can accurately pinpoint the sources of cache misses in your code it identifies the number of cache misses memory references and instructions executed for each line of source code with per function per module and whole program summaries it is useful with programs written in any language cachegrind runs programs about 20 100x slower than normal callgrind callgrind by josef weidendorfer is an extension to cachegrind it provides all the information that cachegrind does plus extra information about callgraphs it was folded into the main valgrind distribution in version 3 2 0 available separately is an amazing visualisation tool kcachegrind which gives a much better overview of the data that callgrind collects it can also be used to visualize cachegrind s output massif massif is a heap profiler it performs detailed heap profiling by taking regular snapshots of a program s heap it produces a graph showing heap usage over time including information about which parts of the program are responsible for the most memory allocations the graph is supplemented by a text or html file that includes more information for determining where the most memory is being allocated massif runs programs about 20x slower than normal helgrind helgrind is a thread debugger which finds data races in multithreaded programs it looks for memory locations which are accessed by more than one posix p thread but for which no consistently used pthread_mutex_ lock can be found such locations are indicative of missing synchronisation between threads and could cause hard to find timing dependent problems it is useful for any program that uses pthreads it is a somewhat experimental tool so your feedback is especially welcome here drd drd is a tool for detecting errors in multithreaded c and c programs the tool works for any program that uses the posix threading primitives or that uses threading concepts built on top of the posix threading primitives while helgrind can detect locking order violations for most programs drd needs less memory to perform its analysis lackey nulgrind lackey and nulgrind are also included in the valgrind distribution they don t do very much and are there for testing and demonstrative purposes dhat dhat is a tool for examining how programs use their heap allocations it tracks the allocated blocks and inspects every memory access to find which block if any it is to it comes with a gui to facilitate exploring the profile results experimental tools bbv a basic block is a linear section of code with one entry point and one exit point a basic block vector bbv is a list of all basic blocks entered during program execution and a count of how many times each basic block was run bbv is a tool that generates basic block vectors for use with the simpoint analysis tool other tools several other valgrind tools have been created you can find a list of them on the variants patches page copyright 2000 2026 valgrind developers hosting kindly provided by sourceware org best viewed with a ny browser
|