Clang with -faddress-sanitizer on Windows

后端 未结 2 1735
情话喂你
情话喂你 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 01:09

    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?

提交回复
热议问题