glibc malloc hook deprecation considered harmful
Ulrich Drepper
drepper@gmail.com
Thu Aug 4 18:57:00 GMT 2011
On Tue, Jul 26, 2011 at 10:41, Emery Berger <emery@cs.umass.edu> wrote:
> However, as far as I am aware, they are the only safe / reliable means
> of intercepting malloc for an entire program, at least on Linux
> platforms.
Huh? All calls to the malloc functions are deliberate excepted from
the rule to avoid PLTs. Therefore it is possible to intercept all
malloc calls through an interceptor object. That's safe, hooks are
not.
More information about the Libc-alpha
mailing list