about summary refs log tree commit diff stats
path: root/example/expression/solve_condition_stp.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-02-15 07:20:23 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-03-13 14:13:09 +0100
commitc3940991f2461278fdb3c7faff8b270320585556 (patch)
treed4eae779f301e0d346c757b92e7461a7d4dd4c89 /example/expression/solve_condition_stp.py
parente94fb099ce7cf80f57d21306de4c2b59ce7b3006 (diff)
downloadmiasm-c3940991f2461278fdb3c7faff8b270320585556.tar.gz
miasm-c3940991f2461278fdb3c7faff8b270320585556.zip
IR: rename blocs to blocks
Diffstat (limited to 'example/expression/solve_condition_stp.py')
-rw-r--r--example/expression/solve_condition_stp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py
index 841081b4..1f0f2967 100644
--- a/example/expression/solve_condition_stp.py
+++ b/example/expression/solve_condition_stp.py
@@ -40,7 +40,7 @@ def get_bloc(ir_arch, mdis, ad):
         l = ad
     else:
         l = mdis.symbol_pool.getby_offset_create(ad)
-    if not l in ir_arch.blocs:
+    if not l in ir_arch.blocks:
         ad = l.offset
         b = mdis.dis_bloc(ad)
         ir_arch.add_bloc(b)
@@ -178,8 +178,8 @@ if __name__ == '__main__':
     sb.emulbloc(irb)
     sb.dump_mem()
 
-    # reset ir_arch blocs
-    ir_arch.blocs = {}
+    # reset ir_arch blocks
+    ir_arch.blocks = {}
 
     states_todo = set()
     states_done = set()