Created
January 28, 2014 10:00
-
-
Save sinitcin/8664976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Устанавливаем адрес обработчика | |
push exception | |
push dword [fs:0] | |
mov [fs:0],esp | |
; Исключение | |
xor eax,eax | |
mov [eax],1 | |
; Если всё прошло отлично, то снимаем обработчик | |
pop dword [fs:0] | |
add esp,4 | |
;... | |
exception: | |
;... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Установка SEH обработчика на Win32