Tag: AddressSanitizer
3 posts
-
C++ Memory Leaks: Causes, Detection, and Prevention
Understand heap leaks: lost pointers, exception paths, shared_ptr cycles. Valgrind, ASan/LSan, heap profilers, Visual Studio, RAII, suppression files, and CI.
-
C++ Runtime Checking: AddressSanitizer and ThreadSanitizer
Catch use-after-free, overflows, leaks and data races with ASan and TSan: compiler flags, reading reports, CMake presets, GitHub Actions and suppressions.
-
Finding C++ Memory Leaks: Valgrind and AddressSanitizer
Find C++ heap leaks with Valgrind, ASan/LeakSanitizer and the Visual Studio CRT debug heap, then fix early returns, exception paths and shared_ptr cycles.