From the gcc website:
"AddressSanitizer , a fast memory error detector, has been added and can be
enabled via -fsanitize=address. Memory access instructions will be instrumented
to detect heap-, stack-, and global-buffer overflow as well as use-after-free
bugs. To get nicer stacktraces, use -fno-omit-frame-pointer. The
AddressSanitizer is available on IA-32/x86-64/x32/PowerPC/PowerPC64 GNU/Linux
and on x86-64 Darwin."
|