Skip to content

Instantly share code, notes, and snippets.

@sinitcin
Created January 28, 2014 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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