about summary refs log tree commit diff stats
path: root/example/disasm/callback.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-06-11 10:10:57 +0200
committerGitHub <noreply@github.com>2018-06-11 10:10:57 +0200
commit0c9d78d3a209176ee98b570e3c8ef423231213cb (patch)
treef157569859dc79c1c50ecc04e252ff334a587683 /example/disasm/callback.py
parent89cc39af7c54879684a6df0560ecf0a681134366 (diff)
parent8a4172f47294a6adb2ed03c9f685a9bde8a7bb63 (diff)
downloadmiasm-0c9d78d3a209176ee98b570e3c8ef423231213cb.tar.gz
miasm-0c9d78d3a209176ee98b570e3c8ef423231213cb.zip
Merge pull request #755 from serpilliere/remove_sp_in_add_cst
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