MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13

-
MSVC ASan Address Sanitizer updates in Visual Studio 2022 version 17.13:
- Upstreaming to LLVM: Major parts of the MSVC ASan runtime have been upstreamed to LLVM, enabling collaboration with the wider LLVM community for further improvements. A "continue-on-error" mode has been added to assist in fixing memory errors in applications with long iteration cycles.
-
MSVC tools and compiler built with ASan:
- Efforts have been made to incorporate ASan into the MSVC codebase, including building the compiler, linker, code analysis tools, and runtime libraries for testing. This allows for running regression test scenarios with ASan enabled on each pull request for better memory safety.
-
Fixes in Visual Studio 2022 version 17.13 GA:
- Improved Global and Local memory management interoperability: Addressed issues with distinguishing pre-existing memory allocations and fixed false positives.
- Continued-on-error reporting enhancements: APIs now aligned with other error reporting formats, resolved interception issues, and fixed false positives due to incorrect interceptions.
- Fixed issues with memcpy aliasing memmove on x86, and resolved confusion in ASan reports from certain function calls.
- Corrected initialization order to ensure ASan-instrumented code executes after ASan initialization for proper functionality.
-
Visual Studio Download: Encouraging users to download Visual Studio and explore the Address Sanitizer feature for enhanced memory safety.