Added support for decoding .debug_pubtypes and .debug_pubnames sections (#208)
authorrvijayc <44033253+rvijayc@users.noreply.github.com>
Mon, 24 Dec 2018 14:02:08 +0000 (06:02 -0800)
committerEli Bendersky <eliben@users.noreply.github.com>
Mon, 24 Dec 2018 14:02:08 +0000 (06:02 -0800)
commitac90d06f79bdf97ec7daf6d2a0b132cbd5619362
tree36d9e7fda04b2b831ea3a42dad65bd1877eb06db
parent5f9416fa6b6da2b4a7b5ed7305d012ab71b1fb30
Added support for decoding .debug_pubtypes and .debug_pubnames sections (#208)

* Added support for decoding .debug_pubtypes and .debug_pubnames sections

* Added reference output to dwarf_pubnames_types.py example.

* Added readelf support, fixed review comments and documentation updates

* Avoid printing the entire die in pubnames example to workaround Python2 vs 3 imcompatibilites
elftools/dwarf/dwarfinfo.py
elftools/dwarf/namelut.py [new file with mode: 0755]
elftools/dwarf/structs.py
elftools/elf/elffile.py
examples/dwarf_pubnames_types.py [new file with mode: 0644]
examples/reference_output/dwarf_pubnames_types.out [new file with mode: 0644]
scripts/readelf.py
test/run_readelf_tests.py