parsed .debug_aranges section, simple interface mapping address ranges to CU offsets
authorDorothy Chen <dochen@princeton.edu>
Fri, 1 Jul 2016 20:44:36 +0000 (16:44 -0400)
committerDorothy Chen <dochen@princeton.edu>
Wed, 13 Jul 2016 16:08:26 +0000 (12:08 -0400)
commitf9f793d6cce9dc3a80bb138dcf5b789e0916d121
tree81cf072f41cc1f8881dfc366933c16eec2527a18
parentbef4a4a08a238e821f9cd476bdb7c26b07e08b79
parsed .debug_aranges section, simple interface mapping address ranges to CU offsets

fixed bug in finding correct arange entry, given an addr

cosmetic changes per pull request thread #108, and updated relevant tests

minor arange test changes

filled in comments

update test formatting for aranges

update test formatting for aranges

Fix off-by-one bug

For real this time. If the query addr == beginning address, bisect_left won't work.
elftools/dwarf/aranges.py [new file with mode: 0644]
elftools/dwarf/dwarfinfo.py
elftools/dwarf/structs.py
elftools/elf/elffile.py
scripts/readelf.py
test/run_readelf_tests.py