Tag: AddressSanitizer
4 posts
-
[2026] Finding C++ Memory Leaks: Valgrind, AddressSanitizer, and LeakSanitizer
Detect heap leaks with Valgrind memcheck, ASan+LSan, and Visual Studio CRT debug heap. Common leak patterns: new/delete mismatch, exceptions, shared_ptr...
-
[2026] C++ Runtime Checking: AddressSanitizer & ThreadSanitizer Complete Guide [#41-2]
Enable -fsanitize=address and -fsanitize=thread in dev/CI builds to catch heap/stack errors and data races. Build flags, examples, CI jobs, and producti...
-
[2026] C++ Segmentation Fault & Core Dump: GDB/LLDB Debugging Complete Guide [#49-1]
Enable core dumps, analyze crashes with GDB or LLDB, and catch use-after-free with AddressSanitizer. Practical workflow for C++ segfault debugging in de...
-
[2026] C++ Memory Leaks | Real Server Outage Cases and Five Patterns Valgrind Catches
C++ memory leaks: new/delete pitfalls, smart pointers, Valgrind and AddressSanitizer. Early returns, double free, delete[] mistakes—fix leaks before the...