about summary refs log tree commit diff stats
path: root/miasm/core/asmbloc.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2012-06-01 16:40:03 +0200
committerserpilliere <devnull@localhost>2012-06-01 16:40:03 +0200
commit2ec2401129c315c45ea8c22f46b29f1f9ea69547 (patch)
treeb781cda06cef2a9074ad1638163ff101f3cfbfd2 /miasm/core/asmbloc.py
parenta34a6e01e5ca1dafbdc539fcbf28d17df657ef77 (diff)
downloadfocaccia-miasm-2ec2401129c315c45ea8c22f46b29f1f9ea69547.tar.gz
focaccia-miasm-2ec2401129c315c45ea8c22f46b29f1f9ea69547.zip
expr: fix exprcompose bugs; ia32sem bug
Diffstat (limited to 'miasm/core/asmbloc.py')
-rw-r--r--miasm/core/asmbloc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/core/asmbloc.py b/miasm/core/asmbloc.py
index 1860b856..0ad2a1fb 100644
--- a/miasm/core/asmbloc.py
+++ b/miasm/core/asmbloc.py
@@ -1262,10 +1262,10 @@ def dis_multi_func(in_str, mn, symbol_pool, ad, dont_dis = [], follow_call = Fal
     all_bloc = split_bloc(all_bloc, symbol_pool, more_ref = call_ad)
     return all_bloc
 
-def dis_one_bloc(in_str, mnemo, ad):
+def dis_one_bloc(in_str, mnemo, ad, **kargs):
     job_done = set()
     symbol_pool = asm_symbol_pool()
-    all_bloc = dis_bloc_all(mnemo, in_str, ad, job_done, symbol_pool, bloc_wd = 1)
+    all_bloc = dis_bloc_all(mnemo, in_str, ad, job_done, symbol_pool, bloc_wd = 1, **kargs)
     if len(all_bloc) != 1:
         return None
     return all_bloc[0]