This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] Mention -faddress-sanitizer in gcc-4.8/changes.html
- From: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, Dodji Seketeli <dodji at redhat dot com>, Gerald Pfeifer <gerald at pfeifer dot com>
- Date: Tue, 20 Nov 2012 09:06:10 +0400
- Subject: Re: [wwwdocs] Mention -faddress-sanitizer in gcc-4.8/changes.html
- References: <50AA7E29.9060808@net-b.de>
On Mon, Nov 19, 2012 at 10:44 PM, Tobias Burnus <burnus@net-b.de> wrote:
> Dear all,
>
> attached is a first draft for -faddress-sanitizer in the release notes.
>
> I am aware that some changes are imminent,* but I want make a start.
> Comments?
stack overflow is something different, I guess we want to say "stack
buffer overflow".
I typically write something like "heap-, stack-, and global- buffer
overflow as well as use-after-free bugs".
I also suggest adding "use -O1 or higher for better performance"
because otherwise "fast memory error detector" is not really true.
>
> Tobias
>
> * For instance:
> - PowerPC/PowerPC64 Linux support
> - Renaming to -fsanitizer=address
-fsanitize=address (no 'r')
Thanks!
> - Addition of -fsanitizer=thread
> - libsanitizer builds with sparc (but ASAN_SHADOW_SHIFT is missing?)
> - Darwin nearly works?