[PATCH] mtrace: Fix output with PIE and ASLR [BZ #22716]

Siddhesh Poyarekar siddhesh@sourceware.org
Thu Jul 22 15:19:04 GMT 2021


On 7/22/21 8:15 PM, John Ogness via Libc-alpha wrote:
> OK, but settings MALLOC_TRACE will cause the memory addresses to be
> stored. So it is l_addr that must be subtracted for addr2line.

I forgot to mention that you cannot subtract across two different runs 
like that because they will have different base addresses due to ASLR.

Siddhesh


More information about the Libc-alpha mailing list