Finding Bugs with AddressSanitizer: MSVC Compiler--Augustin Popa

A very useful tool.

Finding Bugs with AddressSanitizer: MSVC Compiler

by Augustin Popa

From the article:

The AddressSanitizer (ASan) is generally available for MSVC since the recently-released Visual Studio 2019 version 16.9. We’ve already shown how easy it can be to find bugs in even production-ready code like EASTL. Here I’ll share an example of how it found a real bug in the MSVC compiler itself.

The idea was straightforward: ASan finds bugs, and we’re always interested in finding bugs in the compiler. Just like you can turn ASan on in your projects and run your tests, we’ve been turning on ASan on our project (the compiler) and running it on our tests. Sure enough, this found bugs...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.