about summary refs log tree commit diff stats
path: root/example/ida/depgraph.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2020-08-26 06:57:39 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2020-08-31 07:50:01 +0200
commit6f5cb3bef180400001541f56f704f77da0d73429 (patch)
treeb26d1cfdd80fae8a7a51fd7468db09acd5cf3414 /example/ida/depgraph.py
parent80e40a3d2ca735db955807ad0605b43ca22e4e35 (diff)
downloadmiasm-6f5cb3bef180400001541f56f704f77da0d73429.tar.gz
miasm-6f5cb3bef180400001541f56f704f77da0d73429.zip
IRBlock take loc_db
Diffstat (limited to 'example/ida/depgraph.py')
-rw-r--r--example/ida/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/depgraph.py b/example/ida/depgraph.py
index d607fe96..65b57e89 100644
--- a/example/ida/depgraph.py
+++ b/example/ida/depgraph.py
@@ -254,7 +254,7 @@ def launch_depgraph():
                 dst, src = expr_simp(dst), expr_simp(src)
                 new_assignblk[dst] = src
             irs.append(AssignBlock(new_assignblk, instr=assignblk.instr))
-        ircfg.blocks[irb.loc_key] = IRBlock(irb.loc_key, irs)
+        ircfg.blocks[irb.loc_key] = IRBlock(irb.loc_db, irb.loc_key, irs)
 
     # Get dependency graphs
     dg = settings.depgraph