about summary refs log tree commit diff stats
path: root/example/asm_x86.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2014-07-21 11:38:01 +0200
committerserpilliere <devnull@localhost>2014-07-21 11:38:01 +0200
commit0c2b5ebcf567c4ef7649930d3f72a11677220de6 (patch)
tree83e7e4d81266fd78c253624f2aaaf9349fadb987 /example/asm_x86.py
parent2342e243c9a5ef398c0f4faa05da9439e2e4949a (diff)
downloadmiasm-0c2b5ebcf567c4ef7649930d3f72a11677220de6.tar.gz
miasm-0c2b5ebcf567c4ef7649930d3f72a11677220de6.zip
X86; fix disasm cb transformation call/pop
Diffstat (limited to 'example/asm_x86.py')
-rw-r--r--example/asm_x86.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/asm_x86.py b/example/asm_x86.py
index 3637f9ed..fc165da4 100644
--- a/example/asm_x86.py
+++ b/example/asm_x86.py
@@ -27,6 +27,9 @@ main:
   SUB  ESP, 0x100
   MOV  EAX, 0x1337
   LEA  ESI, DWORD PTR [mystr]
+  CALL toto
+toto:
+  POP  EDI
   MOV  ESP, EBP
   POP  EBP
   RET