Open SjRNMzU opened 4 years ago
The error says the requested offset is beyond the size of the .debug_info section. Please compare the section headers parsed by pyelftools with readelf. (The server for your linked binary is unresponsive to my fetch request).
I can't retrieve the binary, either. transfer.sh probably has an expiration mechanism in place. @SjRNMzU, would you mind either attaching to the issue, or uploading to a more permanent storage? Dropbox is quite popular.
@SjRNMzU This should be addressed. Is it still an issue?
I'm using the latest git version of pyelftools with python 3.8.
pyelftools
misses CUs thatobjdump
can display when dumping DWARF info from MUSL libc.The ELF64 binary I'm analyzing can be found here.
If I iterate through all the CUs using
dwarf_info.iter_CUs()
pyelftools
misses all CUs from offset0x66c71
and above.Trying to specify the CU explicitly returns:
Dumping DWARF info with
objdump --dwarf
produces the following excert: