This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/56458] support for crash on invalid array access
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Feb 2013 11:49:13 +0000
- Subject: [Bug c/56458] support for crash on invalid array access
- Auto-submitted: auto-generated
- References: <bug-56458-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56458
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-26 11:49:13 UTC ---
GCC supports -fmudflap and starting with 4.8 also -fsanitize=address. The
latter might not detect access off by 100 bytes, but if it is <= 32 (or often
up to < 64) bytes, it will be detected.