On Fri, 17 Oct 2025 at 08:06, Florian Weimer wrote: > > * Jonathan Wakely: > > > With this change locations that don't have a source file look like this: > > > > 18# __libc_start_call_main at [0x7fd6568f6574] > > 19# __libc_start_main@GLIBC_2.2.5 at [0x7fd6568f6627] > > 20# _start at [0x4006a4] > > Note that DSO name plus offset would be significantly more useful than > just the address, due to ASLR.
I think that's the topic of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110196 (although the report seems to switch topic halfway through). I don't know how to get that info from libbacktrace, but the bug above suggests using dladdr1 for it (I think dladdr would work too, and is more portable).
