This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Q: how to "wrap" malloc()
- Subject: Re: Q: how to "wrap" malloc()
- From: "Andrew Morton" <morton at nortelnetworks dot com>
- Date: Sun, 24 Oct 1999 15:59:05 +0000
- CC: "glibc-linux at ricardo dot ecn dot wfu dot edu" <glibc-linux at ricardo dot ecn dot wfu dot edu>
- Organization: Nortel Networks, Wollongong Australia
- References: <38131B83.3DD21918@asiapacificm01.nt.com> <u8vh7wg4ap.fsf@gromit.rhein-neckar.de>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
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.