This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r212332 - in /trunk/gcc: ChangeLog asan.c tests...
- From: chefmax at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 07 Jul 2014 14:31:18 -0000
- Subject: r212332 - in /trunk/gcc: ChangeLog asan.c tests...
Author: chefmax
Date: Mon Jul 7 14:31:18 2014
New Revision: 212332
URL: https://gcc.gnu.org/viewcvs?rev=212332&root=gcc&view=rev
Log:
Do not instrument first byte in strlen if already instrumented.
gcc/
* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
if already instrumented.
gcc/testsuite/
* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/asan.c
trunk/gcc/testsuite/ChangeLog