projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ed8a0
)
fix missing variable initialisation in elfdump
author
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:04:22 +0000
(
04:04
+0200)
committer
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:04:22 +0000
(
04:04
+0200)
scripts/elfdump.py
patch
|
blob
|
history
diff --git
a/scripts/elfdump.py
b/scripts/elfdump.py
index 400a29eaf06c8b2f974d40493d35729d9adbd88b..a7a14dadf1ff665fc5f6b5bbcf8dace61d839219 100755
(executable)
--- a/
scripts/elfdump.py
+++ b/
scripts/elfdump.py
@@
-64,6
+64,7
@@
class Elfdump(object):
def display_syminfo_table(self):
""" Display the SUNW syminfo tables contained in the file
"""
+ syminfo_section = None
for section in self.elffile.iter_sections():
if isinstance(section, SUNWSyminfoTableSection):
syminfo_section = section