Dynamic Analysis With Valgrind: Memcheck-Cover
Let’s learn to visualize Valgrind’s HTML-formatted output through GUI.
We'll cover the following...
Memcheck-Cover
Commercial IDEs such as CLion natively support parsing Valgrind's output to something that can be easily navigated through GUI without scrolling through the console window to find the right message. If our editor doesn't have this option, we can still get a much clearer view of the errors by using a third-party report generator. Memcheck-Cover offers a nicer experience in the form of a generated HTML file, as shown in the following figure:
Press + to interact
This neat little project is available on GitHub; it requires Valgrind and gawk
(GNU AWK tool). To use it, we'll ...