[PATCH v2] malloc: Remove malloc hooks (Bug 23328)

DJ Delorie dj@redhat.com
Mon Jul 23 19:23:00 GMT 2018


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.



More information about the Libc-alpha mailing list