|
From: Nicholas N. <nj...@cs...> - 2005-08-17 15:06:07
|
On Wed, 17 Aug 2005, Tom Hughes wrote: > If you just want to print something then the generic VALGRIND_PRINTF > and VALGRIND_PRINTF_BACKTRACE may be enough, but to get the full error > grouping and suppression you will need your own client requests. Look > at the overlap detection in memcheck's string replacement library for > an example. Good idea, that's probably easier to understand than coregrind/m_replacemalloc/vg_replace_malloc.c. The file in question is memcheck/mac_replace_strmem.c. Nick |