GCC address sanitizer - supported architecture

Qingnan Duan Qingnan.Duan@microsoft.com
Thu Dec 24 03:23:43 GMT 2020


Hi everyone,
I was looking at this page Instrumentation Options (Using the GNU Compiler Collection (GCC))<https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html> and it says "-fsanitize=address" is only supported on AArch64. However, I was able to compile my code on x86-64 CPU with -fsanitize=address flag.

Is the document out-of-date? Or, does it mean the result of ASan is not guaranteed on any platform other than AArch64?
Thanks in advance for your help!

Best regards,
Qingnan Duan


More information about the Gcc-help mailing list