projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be3be8
)
added name field to AttributeValue
author
Eli Bendersky
<eliben@gmail.com>
Thu, 27 Oct 2011 12:29:32 +0000
(14:29 +0200)
committer
Eli Bendersky
<eliben@gmail.com>
Thu, 27 Oct 2011 12:29:32 +0000
(14:29 +0200)
scripts/readelf.py
patch
|
blob
|
history
diff --git
a/scripts/readelf.py
b/scripts/readelf.py
index 283ad92d6373ddbf8b374517deb0ab17e043d207..13bd4a745ff28398a3b3248a57672ac89548b483 100755
(executable)
--- a/
scripts/readelf.py
+++ b/
scripts/readelf.py
@@
-519,10
+519,10
@@
class ReadElf(object):
die.abbrev_code,
die.tag))
- for attr
name, attr in die.attributes.iteritem
s():
+ for attr
in die.attributes.itervalue
s():
self._emitline(' <%2x> %-18s: %s' % (
attr.offset - section_offset,
- attrname,
+ attr
.
name,
describe_attr_value(
attr, die, section_offset)))