This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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]

Re: Q: how to "wrap" malloc()


Andreas Jaeger wrote:
> 
> Why not do it the other way round?  Check the manual for "Storage
> Allocation Hooks".

Well I'll be...  Thanks, Andreas.

I now do have the dynamic-loading-with-callback stuff working.  It's
messier than the glibc malloc hooks, but probably more portable.  I'll
test it on some non-glibc platforms and then make a decision.

- Andrew.

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