This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 8/17] Optimization of strlen instrumentation


On Thu, Oct 16, 2014 at 12:39:17PM +0400, Yury Gribov wrote:
> Difference from mainline: replaced non-C-friendly bool with unsigned char
> (see patch 0001 for explanation).

Where?  I don't see unsigned char being used anywhere in the patch.
bool is certainly fine in GCC itself.

> Do not instrument first byte in strlen if already instrumented.
> 
> 2014-10-15  Yury Gribov  <y.gribov@samsung.com>
> 
> 	Backport from mainline
> 	2014-06-24  Max Ostapenko  <m.ostapenko@partner.samsung.com>
> 
> 	* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
> 	if already instrumented.
> 
> 	* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.

Ok.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]