projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b928ce
)
remove some dead code
author
Eli Bendersky
<eliben@gmail.com>
Sun, 31 Mar 2013 03:34:57 +0000
(20:34 -0700)
committer
Eli Bendersky
<eliben@gmail.com>
Sun, 31 Mar 2013 03:34:57 +0000
(20:34 -0700)
scripts/readelf.py
patch
|
blob
|
history
diff --git
a/scripts/readelf.py
b/scripts/readelf.py
index 29efb7fa42944e7faecaf141fc5bfdede25b9084..8c1b0f88370cb05f30b35dbf4cd2d38ec1d00436 100755
(executable)
--- a/
scripts/readelf.py
+++ b/
scripts/readelf.py
@@
-288,12
+288,10
@@
class ReadElf(object):
def display_dynamic_tags(self):
""" Display the dynamic tags contained in the file
"""
- has_dynamic_section = False
for section in self.elffile.iter_sections():
if not isinstance(section, DynamicSection):
continue
- has_relocation_sections = True
self._emitline("\nDynamic section at offset %s contains %s entries:" % (
self._format_hex(section['sh_offset']),
section.num_tags()))