public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] Mention -faddress-sanitizer in gcc-4.8/changes.html
@ 2012-11-19 18:45 Tobias Burnus
  2012-11-20  5:06 ` Konstantin Serebryany
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Burnus @ 2012-11-19 18:45 UTC (permalink / raw)
  To: gcc patches, Dodji Seketeli, Gerald Pfeifer

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

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?

Tobias

* For instance:
- PowerPC/PowerPC64 Linux support
- Renaming to -fsanitizer=address
- Addition of -fsanitizer=thread
- libsanitizer builds with sparc (but ASAN_SHADOW_SHIFT is missing?)
- Darwin nearly works?

[-- Attachment #2: one.diff --]
[-- Type: text/x-patch, Size: 935 bytes --]

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.58
diff -p -u -r1.58 changes.html
--- changes.html	19 Nov 2012 15:23:15 -0000	1.58
+++ changes.html	19 Nov 2012 18:34:22 -0000
@@ -101,6 +101,13 @@ by this change.</p>
 	 inlining decisions (for example in the case of Fortran
 	 array descriptors) and devirtualization.</li>
     </ul></li>
+    <li><a href="http://code.google.com/p/address-sanitizer/">AddressSanitizer
+	</a>, a fast memory error detector, has been added and can be
+	enabled via <code>-faddress-sanitizer</code>. Memory access
+	instructions will be instrumented to detect out-of-bounds,
+	use-after-free, stack overflow and global overflow bugs. To get
+	nicer stacktraces, use <code>-fno-omit-frame-pointer</code>. The
+	AddressSanitizer is available on IA-32/x86-64/x32 Linux.</li>
   </ul>
 
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-23 13:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 18:45 [wwwdocs] Mention -faddress-sanitizer in gcc-4.8/changes.html Tobias Burnus
2012-11-20  5:06 ` Konstantin Serebryany
2012-11-23 11:28   ` Tobias Burnus
2012-11-23 12:21     ` Konstantin Serebryany
2012-11-23 13:22       ` Tobias Burnus
2012-11-23 13:25         ` Konstantin Serebryany
2012-11-23 13:30           ` Tobias Burnus
2012-11-23 13:34             ` Konstantin Serebryany

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).