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.gri...@samsung.com> > > Backport from mainline > 2014-06-24 Max Ostapenko <m.ostape...@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