TLDR InfoSec · STRATEGIES & TACTICS
SANITIZE YOUR C++ CONTAINERS: ASAN ANNOTATIONS STEP-BY-STEP
Summary from the TLDR InfoSec newsletter
This post discusses how to use AddressSanitizer(ASan) to detect memory errors in C++ code. Adding ASan annotations to libc++ containers like std::string and std::deque aids in bug detection. The post walks through various examples and code snippets that use ASan to aid in finding memory bugs in C++ code.