This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] malloc: Remove malloc hooks (Bug 23328)
- From: DJ Delorie <dj at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: carlos at redhat dot com, joseph at codesourcery dot com, libc-alpha at sourceware dot org
- Date: Mon, 23 Jul 2018 15:23:43 -0400
- Subject: Re: [PATCH v2] malloc: Remove malloc hooks (Bug 23328)
Florian Weimer <fweimer@redhat.com> writes:
> If we support linking against the interposer,
I think we don't, if you mean "ld".
The interposer is pulled in via LD_PRELOAD. When included, it
interposes the existing malloc API and adds the hook functionality.
Some of the hooks themselves are implemented in the interposer; others
continue to exist in libc.so but are only called (via hooks) by the
interposer.
The interposer doesn't add its own (new) API.