* Instead of unstable parsing of readelf output, use the elftools ELF wrapper for parsing PT_LOAD segments
* Fix#434 xinfo command doesn't show File(Disk) info on non-PIE binaries
Also remove some trailing whitespace
Also fix another bug in xinfo; now it can show the disk offset of all
mmap files, not just the primary executable
* New xinfo feature: Print containing ELF sections for file-backed addresses
* Only print header for ELF sections if at least 1 section contains the address
* Fix bug in section offset calculation when printing containing ELF sections
* Refactor ELF file parsing helpers for cleaner separtion of ELF metadata parsing and enrichment, and a specific use scenario (getting a list of segments/sections containing a given virtual addr). Also makes implementing caching parse results easier
Adjust xinfo command to these API changes
* Fix bug: Reference mem_end instead of file_end
* Don't use underscore variable names; change decorator to reset_on_objfile
* Update xinfo.py
pull/483/head
Jonas Stig Kämpf Svane8 years agocommitted byDisconnect3d