projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d9064
)
Attempting fix for issue #22: bad structs reference
author
Eli Bendersky
<eliben@gmail.com>
Wed, 15 Jan 2014 13:53:07 +0000
(
05:53
-0800)
committer
Eli Bendersky
<eliben@gmail.com>
Wed, 15 Jan 2014 13:53:07 +0000
(
05:53
-0800)
elftools/dwarf/die.py
patch
|
blob
|
history
diff --git
a/elftools/dwarf/die.py
b/elftools/dwarf/die.py
index 91c0d0b4161689e5edd415a99c002aa138b6d6a5..e329e5c7165fdd9935901648611413965944ee87 100644
(file)
--- a/
elftools/dwarf/die.py
+++ b/
elftools/dwarf/die.py
@@
-204,7
+204,7
@@
class DIE(object):
elif form == 'DW_FORM_indirect':
form = raw_value
raw_value = struct_parse(
- structs.Dwarf_dw_form[form], self.stream)
+ s
elf.cu.s
tructs.Dwarf_dw_form[form], self.stream)
# Let's hope this doesn't get too deep :-)
return self._translate_attr_value(form, raw_value)
else: