- VS 2019 16.7 or newer (currently in preview)
- Asan libraries are off by default in the installer, you need to manually enable them in the C++ workload
- Toggle with the cmake option WITH_COMPILER_ASAN as usual (by default enabled in the developer profile)
Soo good news/badnews..
good news: MSVC has asan now!
Bad news: They screwed it up a tiny bit by enforcing alignment requirements on a function that makes no such demands, and it is virtually unusable for blender in it's current shape because of it.
Even if we fixed all alligned alloc in our code to comply with the C11 spec, there's still a few left in external deps like openal