about summary refs log tree commit diff stats
path: root/example/ida/ctype_propagation.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 10:01:53 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 10:55:39 +0100
commit4b257d2d82c6323c6bc521017d0649b8cc7b3747 (patch)
treeba1510429a1b61c0bd08c7ce23a16f3309d3a6ea /example/ida/ctype_propagation.py
parenteca476334f93f023e57048453eb9ec4ee4fab9d2 (diff)
downloadmiasm-4b257d2d82c6323c6bc521017d0649b8cc7b3747.tar.gz
miasm-4b257d2d82c6323c6bc521017d0649b8cc7b3747.zip
IRBlock: irblock iterates on its assignblks
Diffstat (limited to 'example/ida/ctype_propagation.py')
-rw-r--r--example/ida/ctype_propagation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/ctype_propagation.py b/example/ida/ctype_propagation.py
index 88036bcb..54b23516 100644
--- a/example/ida/ctype_propagation.py
+++ b/example/ida/ctype_propagation.py
@@ -114,7 +114,7 @@ class SymbExecCTypeFix(SymbExecCType):
         """
 
         offset2cmt = {}
-        for index, assignblk in enumerate(irb.assignblks):
+        for index, assignblk in enumerate(irb):
             if set(assignblk) == set([self.ir_arch.IRDst, self.ir_arch.pc]):
                 # Don't display on jxx
                 continue