Support SHT_NOTE sections
authorGary Benson <gbenson@redhat.com>
Thu, 14 Jul 2016 10:00:08 +0000 (11:00 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 1 Aug 2016 09:25:18 +0000 (10:25 +0100)
commit0d2c8cc5b00f6ff6de34c5dc82f115db37100701
treea5d43708373f42dc72124e9df3ce5d4c839a0d51
parent5d3b1545df30d4bc3a6cfa8741b1f08cb6bf204b
Support SHT_NOTE sections

This commit adds a new NoteSection class with an iter_notes
iterator which operates in much the same way as NoteSegment's
iter_notes.  An example to illustrate usage is added, and its
reference output is added for the test suite.
elftools/elf/elffile.py
elftools/elf/notes.py [new file with mode: 0644]
elftools/elf/sections.py
elftools/elf/segments.py
examples/elf_notes.py [new file with mode: 0644]
examples/reference_output/elf_notes.out [new file with mode: 0644]