Address Sanitizer Updates for Visual Studio 2022 Version 17.14

thumbnail

Address Sanitizer Updates for Visual Studio 2022 Version 17.14

In this update, the Address Sanitizer (ASan) team at Visual Studio highlights the quality improvements made since version 17.13. Some of the key enhancements include:

  • Increased support for setting ASan flags through __asan_set_setting, benefiting apps that can't access environment variables during execution.
  • Automated testing to ensure ASan's dependencies are compatible with the Xbox OS, facilitating weekly integration of changes from LLVM.
  • Fixing a regression related to corrupted callstack display during error reporting in x64.
  • Improved stability by removing lazy loading of symbolization helpers to minimize loader lock contention.
  • Enhanced control over container poisoning for scenarios involving custom allocators like arenas.

Additionally, the team expresses gratitude to the LLVM ASan community for contributions and plans to continue upstreaming improvements. Moreover, the team shared insights from internal adoption ("dogfooding") efforts, where ASan is utilized within the MSVC toolset to catch memory safety errors during development.

The update concludes with a call to action, encouraging developers to leverage the Address Sanitizer in Visual Studio to strengthen C++ code and enhance overall software quality. Download Visual Studio today to experience the benefits of Address Sanitizer in your projects.