about summary refs log tree commit diff stats
path: root/test/ir/symbexec.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2017-04-20 12:58:40 +0200
committerGitHub <noreply@github.com>2017-04-20 12:58:40 +0200
commit4f5206dd8774a82ed2c864f4e6fe2d512f9d4408 (patch)
tree418429f7a3cdedf5efdf074126bc76dbd04f9657 /test/ir/symbexec.py
parentff981a11ef71960a239ec44295f06bb384124521 (diff)
parent4d511eab15845e519e5a8b0d9f742a550768b709 (diff)
downloadmiasm-4f5206dd8774a82ed2c864f4e6fe2d512f9d4408.tar.gz
miasm-4f5206dd8774a82ed2c864f4e6fe2d512f9d4408.zip
Merge pull request #528 from serpilliere/assignblock_ro
Assignblock ro
Diffstat (limited to '')
-rwxr-xr-xtest/ir/symbexec.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ir/symbexec.py b/test/ir/symbexec.py
index bd28c4ee..e2bd411f 100755
--- a/test/ir/symbexec.py
+++ b/test/ir/symbexec.py
@@ -63,8 +63,7 @@ class TestSymbExec(unittest.TestCase):
         # apply_change / eval_ir / apply_expr
 
         ## x = a (with a = 0x0)
-        assignblk = AssignBlock()
-        assignblk[id_x] = id_a
+        assignblk = AssignBlock({id_x:id_a})
         e.eval_ir(assignblk)
         self.assertEqual(e.apply_expr(id_x), addr0)