Difference between revisions of "Valgrind"

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
Line 1: Line 1:
== Summary ==  
== What is Valgrind? ==


Valgrind is an instrumentation 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.  
Valgrind is an instrumentation 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.  
Valgrind executes a program 20-30 times slower and performs dynamic code analysis.


== Description ==
== Description ==

Revision as of 15:20, 13 January 2023

What is Valgrind?

Valgrind is an instrumentation 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.

Valgrind executes a program 20-30 times slower and performs dynamic code analysis.

Description

The Valgrind distribution currently includes seven production-quality tools:

  • Memcheck
  • Cachegrind
  • Callgrind
  • Massif
  • Helgrind
  • DRD
  • DHAT

heading

References