Outline
Main Page
1 : Introduction
2 : Debugging usage of valgrind
2.1 : How to fix execution abort with valgrind
2.1.1 : Developping the test program
2.1.1.1 : The main.cpp file
2.1.1.2 : The CMakeLists.txt file
2.1.1.3 : The compilation
2.1.2 : Dammit, I have a bug in my program
2.1.2.1 : To enable the debugging symbols
2.1.2.2 : How to use the valgrind's debugger
2.2 : How to fix memory leak with valgrind
2.2.1 : Developping the test program
2.2.1.1 : The main.cpp file
2.2.1.2 : The CMakeLists.txt file
2.2.1.3 : The compilation
2.2.2 : Dammit, I have memory leak in my program
2.2.2.1 : To enable the debugging symbols
2.2.2.2 : How to use the valgrind's memcheck
3 : Profiling usage
3.1 : Program to be evaluated
3.1.1 : Developping the test program
3.1.1.1 : The main.cpp file
3.1.1.2 : The CMakeLists.txt file
3.1.1.3 : The compilation
3.2 : How to profile a code with valgrind
3.2.1 : Profiling the code
3.2.2 : Visualisation of the results