Find Related products on Amazon

Shop on Amazon

MSVC Address Sanitizer updates in Visual Studio 2022 version 17.13

Published on: 2025-11-18 11:47:31

We have been investing in the quality of MSVC Address Sanitizer (ASan) in several key areas over the past year, including working with LLVM upstream to stay coordinated with their changes, adding coverage for internal tools and libraries, and hardening APIs and runtime modes. Upstreaming to LLVM MSVC ASan is derived from a fork of the LLVM repository. Prior to Visual Studio 2022 version 17.12, MSVC ASan was based on outdated versions of LLVM’s compiler-rt (where the ASan source code lives), and we could not incorporate changes from newer versions of LLVM without significant delay. We have recently completed upstreaming major parts of the MSVC ASan runtime. Now we can start to do more work in the open, and we will be shipping improvements made by the rest of the LLVM community. As of Visual Studio 2022 version 17.12, we are taking changes from LLVM main weekly. There are modifications for support on Windows specific to MSVC that are not yet upstream, such as: We intercept more of t ... Read full article.