|
From: John R. <jr...@bi...> - 2013-04-23 22:44:58
|
> Does valgrind provide any replacements for glibc's > |__malloc_initialize_hook()| ? It seems this call and it's |*hook*()| > siblings are depreciated now (at least in SuSE >=12.3) ... There is no glibc replacement. [And the reasoning is correct.] There is no valgrind replacement. You must change your basic approach. We went through this just 6 months ago. Check the archives of this mailing list: [Valgrind-users] __malloc_hook Amir Szekely <ki...@gm...> 10/19/2012 That thread contains code that works. [The modification to detect the first use is obvious.] -- |