about summary refs log tree commit diff stats
path: root/example/ida/depgraph.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-07-20 19:35:49 +0200
committerGitHub <noreply@github.com>2017-07-20 19:35:49 +0200
commit4dfca940e75ad8af65b69dd9bab9ff503141984b (patch)
treeaad96a02c272397eae9fd7377ea86a713814516a /example/ida/depgraph.py
parente45256e15c62aba315ab1e2db5697a14837f5827 (diff)
parent4fcd0faa925d8d33db3622430548e932443d6f02 (diff)
downloadfocaccia-miasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.tar.gz
focaccia-miasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.zip
Merge pull request #579 from serpilliere/fix_get_bloc
Fix get bloc
Diffstat (limited to 'example/ida/depgraph.py')
-rw-r--r--example/ida/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ida/depgraph.py b/example/ida/depgraph.py
index 12d01af9..915f14bc 100644
--- a/example/ida/depgraph.py
+++ b/example/ida/depgraph.py
@@ -214,11 +214,11 @@ def launch_depgraph():
     # Get the current function
     addr = idc.ScreenEA()
     func = ida_funcs.get_func(addr)
-    blocks = mdis.dis_multibloc(func.startEA)
+    blocks = mdis.dis_multiblock(func.startEA)
 
     # Generate IR
     for block in blocks:
-        ir_arch.add_bloc(block)
+        ir_arch.add_block(block)
 
     # Get settings
     settings = depGraphSettingsForm(ir_arch)