keywords: C++, Memory Address Issues, memory leak, memory overflow, MSVC, 内存泄漏检测, 内存溢出检测, 数组越界

Memory Issues Detecter

AddressSanitizer, ThreadSanitizer, MemorySanitizer

Address Sanitizer Now in “Early Release” for Xbox Developers(Recommended)

Finding Bugs with AddressSanitizer: Patterns from Open Source Projects

Visual Leak Detector for Visual C++ 2008-2015

Finding Memory Leaks Using the CRT Library

Dr. Memory is a memory monitoring tool capable of identifying memory-related programming errors such as accesses of uninitialized memory, accesses to unaddressable memory (including outside of allocated heap units and heap underflow and overflow), accesses to freed memory, double frees, memory leaks, and (on Windows) handle leaks, GDI API usage errors, and accesses to un-reserved thread local storage slots.

Crash Reporting

Mirror of Google Breakpad project

Advanced, cross-platform crash management solution for C/C++ applications running in every environment.

Callstack Trace

Configuration and Build

RtlCaptureStackBackTrace function (ntifs.h)
RtlCaptureContext function (winnt.h)