"Mark" == Mark Wielaard mjw@redhat.com writes:
Mark> Note that libdw relies on .debug_aranges. For example dwarf_addrdie (), Mark> which returns the CU DIE containing a given address, just returns NULL Mark> if the aranges section isn't there.
Yeah. What makes this bug theoretical is that, AFAIK, nobody has seen it happen in the wild. In practice, a missing .debug_aranges entry means that the CU covers no addresses.
Tom