about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-01-11 09:59:01 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-01-11 10:29:36 +0100
commit8260b2acab9166373f6d603d6d5431f4212f44af (patch)
tree01568e457d95113775bf24e8ecc204a0f8aa576f
parent79a39f095ad05c1d719ea841986c6d2642d184c7 (diff)
downloadmiasm-8260b2acab9166373f6d603d6d5431f4212f44af.tar.gz
miasm-8260b2acab9166373f6d603d6d5431f4212f44af.zip
Example: fix disasm wd
-rw-r--r--example/symbol_exec/single_instr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/symbol_exec/single_instr.py b/example/symbol_exec/single_instr.py
index 263c0252..d65702ba 100644
--- a/example/symbol_exec/single_instr.py
+++ b/example/symbol_exec/single_instr.py
@@ -14,6 +14,7 @@ asm = machine.mn.asm(line)[0]
 # Get back block
 bin_stream = bin_stream_str(asm)
 mdis = machine.dis_engine(bin_stream)
+mdis.lines_wd = 1
 asm_block = mdis.dis_block(START_ADDR)
 
 # Translate ASM -> IR