about summary refs log tree commit diff stats
path: root/example/expression/solve_condition_stp.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-01-25 11:05:29 +0100
committerAjax <commial@gmail.com>2016-01-26 17:09:18 +0100
commit455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821 (patch)
tree58c354de7afe7b4b0ca6af923616941ba9c2e79e /example/expression/solve_condition_stp.py
parent01b1f292c84d4cbda38b6c308fc7b1af52595cec (diff)
downloadfocaccia-miasm-455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821.tar.gz
focaccia-miasm-455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821.zip
BasicBlocks: update examples with the new API
Diffstat (limited to 'example/expression/solve_condition_stp.py')
-rw-r--r--example/expression/solve_condition_stp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py
index 034a115f..93c17018 100644
--- a/example/expression/solve_condition_stp.py
+++ b/example/expression/solve_condition_stp.py
@@ -168,7 +168,7 @@ if __name__ == '__main__':
     ''')
 
 
-    b = blocs[0]
+    b = list(blocs)[0]
     print b
     # add fake address and len to parsed instructions
     for i, l in enumerate(b.lines):