> 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  <[email protected]>
   10/19/2012

That thread contains code that works.
[The modification to detect the first use is obvious.]

-- 


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to