Skip to content

Instantly share code, notes, and snippets.

@sinitcin
Created January 28, 2014 10:00
Show Gist options
  • Save sinitcin/8664976 to your computer and use it in GitHub Desktop.
Save sinitcin/8664976 to your computer and use it in GitHub Desktop.
; Устанавливаем адрес обработчика
push exception
push dword [fs:0]
mov [fs:0],esp
; Исключение
xor eax,eax
mov [eax],1
; Если всё прошло отлично, то снимаем обработчик
pop dword [fs:0]
add esp,4
;...
exception:
;...
@sinitcin
Copy link
Author

Установка SEH обработчика на Win32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment