projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4682c96
)
fixed a bug in taking the last line from CIE to first line in FDE - need copy.copy...
author
Eli Bendersky
<eliben@gmail.com>
Fri, 16 Dec 2011 04:46:19 +0000
(06:46 +0200)
committer
Eli Bendersky
<eliben@gmail.com>
Fri, 16 Dec 2011 04:46:19 +0000
(06:46 +0200)
elftools/dwarf/callframe.py
patch
|
blob
|
history
diff --git
a/elftools/dwarf/callframe.py
b/elftools/dwarf/callframe.py
index c2a7ec29832bb99196919c8e958ec17caf104466..f8dcac63bbb2c987b57c360d1bbdeef87d274ae9 100644
(file)
--- a/
elftools/dwarf/callframe.py
+++ b/
elftools/dwarf/callframe.py
@@
-240,10
+240,10
@@
class CFIEntry(object):
else: # FDE
cie = self.cie
cie_decoded_table = cie.get_decoded()
- last_line_in_CIE = c
ie_decoded_table.table[-1]
+ last_line_in_CIE = c
opy.copy(cie_decoded_table.table[-1])
cur_line = last_line_in_CIE
cur_line['pc'] = self['initial_location']
- reg_order = c
ie_decoded_table.reg_order
+ reg_order = c
opy.copy(cie_decoded_table.reg_order)
table = []
line_stack = []