Skip to Content
Mastering C++ Programming
book

Mastering C++ Programming

by Jeganathan Swaminathan
September 2017
Beginner to intermediate
384 pages
8h 4m
English
Packt Publishing
Content preview from Mastering C++ Programming

Debugging memory leaks with Valgrind

Valgrind is a collection of open source C/C++ debugging and profiling tools for the Unix and Linux platforms. The collection of tools that Valgrind supports are as follows:

  • Cachegrind: This is the cache profiler
  • Callgrind: This works in a similar manner to the cache profiler but supports the caller-callee sequence
  • Helgrind: This helps in detecting thread synchronization issues
  • DRD: This is the thread error detector
  • Massif: This is the heap profiler
  • Lackey: This provides basic performance-related statistics and measurements about your application
  • exp-sgcheckThis detects stack overruns; it is generally useful in finding issues that Memcheck can't find
  • exp-bbvThis is useful for computer architecture ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Multi-Paradigm Programming with Modern C++

Multi-Paradigm Programming with Modern C++

Georgy Pashkov

Publisher Resources

ISBN: 9781786461629Supplemental Content