In this recipe, we will learn how to leverage Google's address sanitizer (ASAN)—which is a dynamic analysis tool—to check for memory corruption errors in our code. This recipe is important because it provides a simple means to ensure that your code is both reliable and stable, with a minimal number of changes to your build system.