[PATCH] tst-rec-dlopen: Use custom malloc instead of hooks
Florian Weimer
fweimer@redhat.com
Fri Jun 3 09:50:00 GMT 2016
On 05/20/2016 08:53 PM, Adhemerval Zanella wrote:
> Since the idea is simulate the hooks for malloc/free, do we still need to add
> all this code to be used on this single test?
If you interpose malloc, you need to interpose all these functions in a
matching way.
I wanted to avoid dlsym (RTLD_NEXT), which is why I followed this
approach, but it turns out this is not necessary because dlsym
(RTLD_NEXT) works just fine. Updated patch attached.
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst-rec-dlopen.patch
Type: text/x-patch
Size: 3696 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160603/10bf12ec/attachment.bin>
More information about the Libc-alpha
mailing list