about summary refs log tree commit diff stats
path: root/example/symbol_exec/depgraph.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-08 17:02:35 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 10:55:39 +0100
commiteca476334f93f023e57048453eb9ec4ee4fab9d2 (patch)
tree08ea36af5f8f7f27222631cdbf0b9f18aa3248cc /example/symbol_exec/depgraph.py
parent47811fe5a56c8071ab5064e1f84ca64389941eec (diff)
downloadmiasm-eca476334f93f023e57048453eb9ec4ee4fab9d2.tar.gz
miasm-eca476334f93f023e57048453eb9ec4ee4fab9d2.zip
IRBlock: replace irs by assignblks
Diffstat (limited to 'example/symbol_exec/depgraph.py')
-rw-r--r--example/symbol_exec/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/symbol_exec/depgraph.py b/example/symbol_exec/depgraph.py
index c1d6174d..ae66fbaa 100644
--- a/example/symbol_exec/depgraph.py
+++ b/example/symbol_exec/depgraph.py
@@ -75,7 +75,7 @@ dg = DependencyGraph(ir_arch, implicit=args.implicit,
 target_addr = int(args.target_addr, 0)
 current_block = list(ir_arch.getby_offset(target_addr))[0]
 line_nb = 0
-for line_nb, assignblk in enumerate(current_block.irs):
+for line_nb, assignblk in enumerate(current_block.assignblks):
     if assignblk.instr.offset == target_addr:
         break