about summary refs log tree commit diff stats
path: root/example/samples
diff options
context:
space:
mode:
authorLouis <louis@losynix.net>2019-09-30 09:51:35 +0200
committerLouis <louis@losynix.net>2019-09-30 09:51:35 +0200
commit880a1a345a4378b5a783dadaf7d33c9a434f610c (patch)
treed748e35fb4476a7edcca85b0516b18b3be77922f /example/samples
parent469babfe67688163429d2595705aac5462b7758f (diff)
downloadmiasm-880a1a345a4378b5a783dadaf7d33c9a434f610c.tar.gz
miasm-880a1a345a4378b5a783dadaf7d33c9a434f610c.zip
fix int 1 handling
Diffstat (limited to '')
-rw-r--r--example/samples/x86_32_seh.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/samples/x86_32_seh.S b/example/samples/x86_32_seh.S
index 7bb2c3cd..a637cccf 100644
--- a/example/samples/x86_32_seh.S
+++ b/example/samples/x86_32_seh.S
@@ -41,6 +41,12 @@ lbl_err_end4:
 	ADD        ESP, 4
 	RET
 
+;; Single step
+lbl_err_5:
+	INT        0x1
+lbl_err_end5:
+	NOP
+
 error:
 	MOV        ECX, DWORD PTR [ESP+0xC]
 	MOV        EAX, DWORD PTR [ECX+0xB8]
@@ -66,6 +72,7 @@ labels_err:
 .dword lbl_err_2
 .dword lbl_err_3
 .dword lbl_err_4
+.dword lbl_err_5
 
 
 labels_err_end:
@@ -74,3 +81,4 @@ labels_err_end:
 .dword lbl_err_end2
 .dword lbl_err_end3
 .dword lbl_err_end4
+.dword lbl_err_end5