about summary refs log tree commit diff stats
path: root/example/disasm/callback.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-06-10 20:08:34 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-06-10 20:09:29 +0200
commit8a4172f47294a6adb2ed03c9f685a9bde8a7bb63 (patch)
tree6749c5a1737ee015a8b0f40e4bc4361e828d4d74 /example/disasm/callback.py
parent08c27666179e37206919bf58f214eb62b14100a3 (diff)
downloadmiasm-8a4172f47294a6adb2ed03c9f685a9bde8a7bb63.tar.gz
miasm-8a4172f47294a6adb2ed03c9f685a9bde8a7bb63.zip
AsmBlock: remove symbol_pool in add_cst
Diffstat (limited to 'example/disasm/callback.py')
-rw-r--r--example/disasm/callback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/callback.py b/example/disasm/callback.py
index bbf0afaf..a00cf5e5 100644
--- a/example/disasm/callback.py
+++ b/example/disasm/callback.py
@@ -37,7 +37,7 @@ def cb_x86_callpop(cur_bloc, symbol_pool, *args, **kwargs):
 
     # Update next blocks to process in the disassembly engine
     cur_bloc.bto.clear()
-    cur_bloc.add_cst(loc_key, AsmConstraint.c_next, symbol_pool)
+    cur_bloc.add_cst(loc_key, AsmConstraint.c_next)
 
 
 # Prepare a tiny shellcode