Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180418210608.GJ3094@brightrain.aerifal.cx>
Date: Wed, 18 Apr 2018 17:06:08 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: tcmalloc compatibility

On Wed, Apr 18, 2018 at 10:50:24PM +0200, Florian Weimer wrote:
> * Szabolcs Nagy:
> 
> > even with the very small set of libc apis that a malloc
> > interposer may want to use, there known (but undocumented)
> > caveats:
> >
> > - glibc dlsym calls calloc (bites anybody who tries to wrap
> > calloc in the usual way)
> 
> That's not what I meant with an interposed malloc.  Any such partial
> interposition is going to be very tricky indeed.

I don't understand. By "partial interposition" do you mean partial in
the sense of "wrapping and calling the original via dlsym" or in the
sense of "replacing some but not all allocator functions"?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.