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

Memory Issues Detecter

AddressSanitizer, ThreadSanitizer, MemorySanitizer
https://github.com/google/sanitizers

Address Sanitizer Now in “Early Release” for Xbox Developers(Recommended)
https://devblogs.microsoft.com/cppblog/address-sanitizer-now-in-early-release-for-xbox-developers/

Finding Bugs with AddressSanitizer: Patterns from Open Source Projects
https://devblogs.microsoft.com/cppblog/finding-bugs-with-addresssanitizer-patterns-from-open-source-projects/

Visual Leak Detector for Visual C++ 2008-2015
https://github.com/KindDragon/vld

Finding Memory Leaks Using the CRT Library
https://msdn.microsoft.com/en-us/library/x98tx3cf.aspx

Crash Reporting

Mirror of Google Breakpad project
https://github.com/google/breakpad

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

Callstack Trace

boost::stacktrace
http://boostorg.github.io/stacktrace/stacktrace/getting_started.html
Configuration and Build
http://boostorg.github.io/stacktrace/stacktrace/configuration_and_build.html

RtlCaptureStackBackTrace function (ntifs.h)
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-rtlcapturestackbacktrace
RtlCaptureContext function (winnt.h)
https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-rtlcapturecontext