May 2021
Intermediate to advanced
432 pages
7h 59m
English
No program is perfect on the first try. In this chapter, we'll learn how to debug our programs using GDB and Valgrind. With the latter tool, Valgrind, we can find memory leaks in our programs.
We'll also take a look at what memory leaks are, what they can cause, and how to prevent them. Debugging programs and looking at memory is an important step to understanding system programming fully.
In this chapter, we will cover the following recipes:
Read now
Unlock full access