Skip to content

jpramosi/CppToolsDemo

Repository files navigation

C++ Tools Demonstration

This project will introduce you on how to use sanitizers, generating core dumps and coverage reports.

This setup was tested on Ubuntu 21.04 with Clang & GNU compiler. The main focus of this project is to offer an example on how to use these tools and setting up an own project.

Instead of MemorySanitizer Valgrind will be used for uninitialized reads, because all code needs to be instrumented with the sanitizer itself.

Additionally, a Cmake module is included to create the testing scripts and can also be used for other things.
Everything else is explained in the CMakeLists.txt.

This project use these utilities:

Motivation

I have written this for myself to get an overview of all these utilities and to help other who are struggling with these tools and just needs a reference with examples.