From 41c971a8674c5f793a021cd91732c0b0a88786de Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 27 Oct 2011 14:29:32 +0200 Subject: [PATCH] added name field to AttributeValue --- scripts/readelf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/readelf.py b/scripts/readelf.py index 283ad92..13bd4a7 100755 --- a/scripts/readelf.py +++ b/scripts/readelf.py @@ -519,10 +519,10 @@ class ReadElf(object): die.abbrev_code, die.tag)) - for attrname, attr in die.attributes.iteritems(): + for attr in die.attributes.itervalues(): self._emitline(' <%2x> %-18s: %s' % ( attr.offset - section_offset, - attrname, + attr.name, describe_attr_value( attr, die, section_offset))) -- 2.30.2