Clang with -faddress-sanitizer on Windows

后端 未结 2 1736
情话喂你
情话喂你 2021-01-02 00:18

My intent is to use Clang as a replacement for Valgrind on Windows to find buffer overflows, dynamic memory misuse etc. in C/C++ programs that I\'v

2条回答
  •  礼貌的吻别
    2021-01-02 00:43

    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

提交回复
热议问题