about summary refs log tree commit diff stats
path: root/test/core/sembuilder.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-02-26 16:30:54 +0100
committerCamille Mougey <commial@gmail.com>2016-02-26 16:30:54 +0100
commit9c4d5276b8b29d6f900c8184939468b028933cee (patch)
tree687141798f79fb46921289bf96c022d6011fa7c2 /test/core/sembuilder.py
parente586d46f44e0a57592930434fde48b6f5b1daf52 (diff)
parent04ae248954d5638aa836cf609e2bb4c50246cbdc (diff)
downloadmiasm-9c4d5276b8b29d6f900c8184939468b028933cee.tar.gz
miasm-9c4d5276b8b29d6f900c8184939468b028933cee.zip
Merge pull request #330 from serpilliere/assignblock
Assignblock
Diffstat (limited to 'test/core/sembuilder.py')
-rw-r--r--test/core/sembuilder.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/core/sembuilder.py b/test/core/sembuilder.py
index 15fa67a4..3a575727 100644
--- a/test/core/sembuilder.py
+++ b/test/core/sembuilder.py
@@ -57,5 +57,9 @@ for statement in res[0]:
     print statement
 
 print "[+] Blocks:"
-for block in res[1]:
-    print block
+for irb in res[1]:
+    print irb.label
+    for exprs in irb.irs:
+        for expr in exprs:
+            print expr
+        print