about summary refs log tree commit diff stats
path: root/example/symbol_exec/single_instr.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-01-11 12:46:56 +0100
committerGitHub <noreply@github.com>2018-01-11 12:46:56 +0100
commitfef46ebaf5e72cf539528d99548ca3d32009a9d7 (patch)
treebe1a371ec3757de7a740c850c0344311f0906688 /example/symbol_exec/single_instr.py
parenta1f830327703b94f25767df623cef16dc8c5e7aa (diff)
parent8260b2acab9166373f6d603d6d5431f4212f44af (diff)
downloadmiasm-fef46ebaf5e72cf539528d99548ca3d32009a9d7.tar.gz
miasm-fef46ebaf5e72cf539528d99548ca3d32009a9d7.zip
Merge pull request #654 from serpilliere/use_stp_translator
Use stp translator
Diffstat (limited to 'example/symbol_exec/single_instr.py')
-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