This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC] Simple checking allocator


On Wednesday 23 October 2013 05:51:58 OndÅej BÃlka wrote:
> On Wed, Oct 23, 2013 at 02:05:45AM -0700, Andi Kleen wrote:
> > OndÅej BÃlka <neleai@seznam.cz> writes:
> > > Comments?
> > 
> > Better to just rely on valgrind or AddressSanitizer? Those
> > will be always better for this.
> 
> Could if you accept a slowdown.
> 
> This one is more ligthweight approach with small slowdown on single thread
> applications.
> 
> One of applications is that we could do bound checking of
> strcat/strcpy also for heap allocated memory.

ASAN slowdown is getting better and afaik, it's at the point where it's 
perfectly bearable for testing purposes.  the Chromium projects builds all of 
Chromium with it and runs tests against it.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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