Clang with -faddress-sanitizer on Windows Clang with -faddress-sanitizer on Windows windows windows

Clang with -faddress-sanitizer on Windows


AddressSanitizer works much better on Windows these days (but it's still a bit of a work-in-progress). There's some documentation at https://github.com/google/sanitizers/wiki/AddressSanitizerWindowsPort


Googling brought me to this page.

To quote,

AddressSanitizer is supported on

  • Linux x86_64 (tested on Ubuntu 10.04).
  • MacOS 10.6 and 10.7 (i386/x86_64).

Support for Linux i386/ARM is in progress (it may work, but is not guaranteed too).


On the topic of replacement, have you looked at Dr. Memory?