Skip to content

Commit

Permalink
Cosmetic cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eliben committed Jun 5, 2015
1 parent 6455e3c commit db74f68
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

1 change: 0 additions & 1 deletion examples/dwarf_decode_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ def decode_file_line(dwarfinfo, address):
for filename in sys.argv[1:]:
# For testing we use a hardcoded address.
process_file(filename, 0x400503)

3 changes: 0 additions & 3 deletions examples/elf_low_high_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']

from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile
from elftools.elf.sections import SymbolTableSection

Expand Down Expand Up @@ -87,5 +86,3 @@ def section_info_highlevel(stream):
if __name__ == '__main__':
for filename in sys.argv[1:]:
process_file(filename)


2 changes: 0 additions & 2 deletions examples/elf_relocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']


from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile
from elftools.elf.relocation import RelocationSection

Expand Down
3 changes: 0 additions & 3 deletions examples/elf_show_debug_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']

from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile


Expand All @@ -23,12 +22,10 @@ def process_file(filename):
elffile = ELFFile(f)

for section in elffile.iter_sections():
# Section names are string
if section.name.startswith('.debug'):
print(' ' + section.name)


if __name__ == '__main__':
for filename in sys.argv[1:]:
process_file(filename)

0 comments on commit db74f68

Please sign in to comment.