projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be6af4
)
decoding seems to somewhat work. some unit tests pass
author
Eli Bendersky
<eliben@gmail.com>
Thu, 15 Dec 2011 13:28:35 +0000
(15:28 +0200)
committer
Eli Bendersky
<eliben@gmail.com>
Thu, 15 Dec 2011 13:28:35 +0000
(15:28 +0200)
tests/test_callframe.py
patch
|
blob
|
history
diff --git
a/tests/test_callframe.py
b/tests/test_callframe.py
index 556f172131155418c93d812a53dc8546585d395b..73e35d940d8582d574fd8233431aaa8f5657f4be 100644
(file)
--- a/
tests/test_callframe.py
+++ b/
tests/test_callframe.py
@@
-115,6
+115,7
@@
class TestCallFrame(unittest.TestCase):
self.assertEqual(decoded_FDE.table[2][8].type, RegisterRule.OFFSET)
self.assertEqual(decoded_FDE.table[2][8].arg, -4)
self.assertEqual(decoded_FDE.table[2][4].type, RegisterRule.SAME_VALUE)
+ self.assertEqual(decoded_FDE.table[5]['pc'], 0x11223344 + 20)
self.assertEqual(decoded_FDE.table[5][4].type, RegisterRule.OFFSET)
self.assertEqual(decoded_FDE.table[5][4].arg, -12)