question on glibc interposition

christopher.aoki@oracle.com christopher.aoki@oracle.com
Tue Feb 13 21:34:00 GMT 2018


> On Feb 11, 2018, at 1:05 AM, Alexander Monakov <amonakov@ispras.ru> wrote:
> 
> On Sun, 11 Feb 2018, Alexander Monakov wrote:
>> and after that LD_DEBUG stream between the 'run' and 'fin' commands should
>> show you how the malloc call was bound.
> 
> Ugh, no, not that part. The relatively small part produced after 'fin' and
> the gdb prompt after that (that's why LD_BIND_NOT is needed - to see bindings
> after invoking _gfortran_string_trim even if some were already computed).
> 
> Alexander

Yes, that was helpful.  It turned out that  my interposition library was misusing
symbol versioning, which apparently interferes with interposition of the intended
routines (malloc/free/etc.)  Thanks!

-chris


More information about the Libc-alpha mailing list