|
From: Doug R. <df...@nl...> - 2004-02-18 15:16:00
|
On Wed, 2004-02-18 at 14:34, Nicholas Nethercote wrote: > On Wed, 18 Feb 2004, Doug Rabson wrote: > > > It runs fine, > > Even pthreaded programs? How? Probably not pthreaded programs :-( > > > you just don't get the extra malloc/free instrumentation > > etc. > > That's going to degrade the effectiveness of the various tools by > different amounts. For example, Memcheck/Addrcheck will not give errors > for heap-block overruns, because it will be tracking addressability at the > lower mmap/brk level. And Massif (heap profiler) will be useless. It > would be good to give some kind of warning about this. I wonder if it might be possible to catch thing at the instrumentation state, e.g. "hey! thats a call to malloc - substitute this pointer instead". |