亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? seh.s

?? ReactOS是一些高手根據Windows XP的內核編寫出的類XP。內核實現機理和API函數調用幾乎相同。甚至可以兼容XP的程序。喜歡研究系統內核的人可以看一看。
?? S
字號:
/*
 * COPYRIGHT:       See COPYING in the top level directory
 * PROJECT:         ReactOS CRT
 * FILE:            lib/crt/misc/i386/seh.S
 * PURPOSE:         SEH Support for the CRT
 * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
 */

/* INCLUDES ******************************************************************/

#include <ndk/asm.h>
.intel_syntax noprefix

#define DISPOSITION_DISMISS         0
#define DISPOSITION_CONTINUE_SEARCH 1
#define DISPOSITION_COLLIDED_UNWIND 3

/* GLOBALS *******************************************************************/

.globl __global_unwind2
.globl __local_unwind2
.globl __abnormal_termination
.globl __except_handler2
.globl __except_handler3

/* FUNCTIONS *****************************************************************/

.func unwind_handler
_unwind_handler:

    /* Check if we were unwinding and continue search if not */
    mov ecx, [esp+4]
    test dword ptr [ecx+4], EXCEPTION_EXIT_UNWIND + EXCEPTION_UNWINDING
    mov eax, DISPOSITION_CONTINUE_SEARCH
    jz unwind_handler_return

    /* We have a collision, do a local unwind */
    mov eax, [esp+20]
    push ebp
    mov ebp, [eax+16]
    mov edx, [eax+40]
    push edx
    mov edx, [eax+36]
    push edx
    call __local_unwind2
    add esp, 8
    pop ebp

    /* Set new try level */
    mov eax, [esp+8]
    mov edx, [esp+16]
    mov [edx], eax

    /* Return collided unwind */
    mov eax, DISPOSITION_COLLIDED_UNWIND

unwind_handler_return:
    ret
.endfunc

.func _global_unwind2
__global_unwind2:

    /* Create stack and save all registers */
    push ebp
    mov ebp, esp
    push ebx
    push esi
    push edi
    push ebp

    /* Call unwind */
    push 0
    push 0
    push glu_return
    push [ebp+8]
    call _RtlUnwind@16

glu_return:
    /* Restore registers and return */
    pop ebp
    pop esi
    pop edi
    pop ebx
    mov esp, ebp
    pop ebp
    ret
.endfunc

.func _abnormal_termination
__abnormal_termination:

    /* Assume false */
    xor eax, eax

    /* Check if the handler is the unwind handler */
    mov ecx, fs:0
    cmp dword ptr [ecx+4], offset _unwind_handler
    jne short ab_return

    /* Get the try level */
    mov edx, [ecx+12]
    mov edx, [edx+12]

    /* Compare it */
    cmp [ecx+8], edx
    jne ab_return

    /* Return true */
    mov eax, 1

    /* Return */
ab_return:
    ret
.endfunc

.func _local_unwind2
__local_unwind2:

    /* Save volatiles */
    push ebx
    push esi
    push edi

    /* Get the exception registration */
    mov eax, [esp+16]

    /* Setup SEH to protect the unwind */
    push ebp
    push eax
    push -2
    push offset _unwind_handler
    push fs:0
    mov fs:0, esp

unwind_loop:
    /* Get the exception registration and try level */
    mov eax, [esp+36]
    mov ebx, [eax+8]
    mov esi, [eax+12]

    /* Validate the unwind */
    cmp esi, -1
    je unwind_return
    cmp dword ptr [esp+40], -1
    je unwind_ok
    cmp esi, [esp+40]
    jbe unwind_return

unwind_ok:
    /* Get the new enclosing level and save it */
    lea esi, [esi+esi*2]
    mov ecx, [ebx+esi*4]
    mov [esp+8], ecx
    mov [eax+12], ecx

    /* Check the filter type */
    cmp dword ptr [ebx+esi*4+4], 0
    jnz __NLG_Return2

    /* FIXME: NLG Notification */

    /* Call the handler */
    call dword ptr [ebx+esi*4+8]

__NLG_Return2:
    /* Unwind again */
    jmp unwind_loop

unwind_return:
    /* Cleanup SEH */
    pop fs:0
    add esp, 16
    pop edi
    pop esi
    pop ebx
    ret
.endfunc

.func _except_handler2
__except_handler2:

    /* Setup stack and save volatiles */
    push ebp
    mov ebp, esp
    sub esp, 8
    push ebx
    push esi
    push edi
    push ebp

    /* Clear direction flag */
    cld

    /* Get exception registration and record */
    mov ebx, [ebp+12]
    mov eax, [ebp+8]

    /* Check if this is an unwind */
    test dword ptr [eax+4], EXCEPTION_EXIT_UNWIND + EXCEPTION_UNWINDING
    jnz except_unwind2

    /* Save exception pointers structure */
    mov [ebp-8], eax
    mov eax, [ebp+16]
    mov [ebp-4], eax
    lea eax, [ebp-8]
    mov [ebx+20], eax

    /* Get the try level and scope table */
    mov esi, [ebx+12]
    mov esi, [ebx+8]

except_loop2:
    /* Validate try level */
    cmp esi, -1
    je except_search2

    /* Check if this is the termination handler */
    lea ecx, [esi+esi*2]
    cmp dword ptr [edi+ecx*4+4], 0
    jz except_continue2

    /* Save registers and call filter, then restore them */
    push esi
    push ebp
    mov ebp, [ebx+16]
    call dword ptr [edi+ecx*4+4]
    pop ebp
    pop esi

    /* Restore ebx and check the result */
    mov ebx, [ebp+12]
    or eax, eax
    jz except_continue2
    jz except_dismiss2

    /* So this is an accept, call the termination handlers */
    mov edi, [ebx+8]
    push ebx
    call __global_unwind2
    add esp, 4

    /* Restore ebp */
    mov ebp, [ebx+16]

    /* Do local unwind */
    push esi
    push ebx
    call __local_unwind2
    add esp, 8

    /* Set new try level */
    lea ecx, [esi+esi*2]
    mov eax, [edi+ecx*4]
    mov [ebx+12], eax

    /* Call except handler */
    call [edi+ecx*4+8]

except_continue2:
    /* Reload try level and except again */
    mov edi, [ebx+8]
    lea ecx, [esi+esi*2]
    mov esi, [edi+ecx*4]
    jmp except_loop2

except_dismiss2:
    /* Dismiss it */
    mov eax, DISPOSITION_DISMISS
    jmp except_return2

except_search2:
    /* Continue searching */
    mov eax, DISPOSITION_CONTINUE_SEARCH
    jmp except_return2

    /* Do local unwind */
except_unwind2:
    push ebp
    mov ebp, [ebx+16]
    push -1
    push ebx
    call __local_unwind2
    add esp, 8

    /* Retore EBP and set return disposition */
    pop ebp
    mov eax, DISPOSITION_CONTINUE_SEARCH

except_return2:
    /* Restore registers and stack */
    pop ebp
    pop edi
    pop esi
    pop ebx
    mov esp, ebp
    pop ebp
    ret
.endfunc

.func _except_handler3
__except_handler3:

    /* Setup stack and save volatiles */
    push ebp
    mov ebp, esp
    sub esp, 8
    push ebx
    push esi
    push edi
    push ebp

    /* Clear direction flag */
    cld

    /* Get exception registration and record */
    mov ebx, [ebp+12]
    mov eax, [ebp+8]

    /* Check if this is an unwind */
    test dword ptr [eax+4], EXCEPTION_EXIT_UNWIND + EXCEPTION_UNWINDING
    jnz except_unwind3

    /* Save exception pointers structure */
    mov [ebp-8], eax
    mov eax, [ebp+16]
    mov [ebp-4], eax
    lea eax, [ebp-8]
    mov [ebx-4], eax

    /* Get the try level and scope table */
    mov esi, [ebx+12]
    mov esi, [ebx+8]

    /* FIXME: Validate the SEH exception */

except_loop3:
    /* Validate try level */
    cmp esi, -1
    je except_search3

    /* Check if this is the termination handler */
    lea ecx, [esi+esi*2]
    mov eax, [edi+ecx*4+4]
    or eax, eax
    jz except_continue3

    /* Save registers clear them all */
    push esi
    push ebp
    lea ebp, [ebx+16]
    xor ebx, ebx
    xor ecx, ecx
    xor edx, edx
    xor esi, esi
    xor edi, edi

    /* Call the filter and restore our registers */
    call eax
    pop ebp
    pop esi

    /* Restore ebx and check the result */
    mov ebx, [ebp+12]
    or eax, eax
    jz except_continue3
    jz except_dismiss3

    /* So this is an accept, call the termination handlers */
    mov edi, [ebx+8]
    push ebx
    call __global_unwind2
    add esp, 4

    /* Restore ebp */
    lea ebp, [ebx+16]

    /* Do local unwind */
    push esi
    push ebx
    call __local_unwind2
    add esp, 8

    /* FIXME: Do NLG Notification */

    /* Set new try level */
    lea ecx, [esi+esi*2]
    mov eax, [edi+ecx*4]
    mov [ebx+12], eax

    /* Clear registers and call except handler */
    mov eax, [edi+ecx*4+8]
    xor ebx, ebx
    xor ecx, ecx
    xor edx, edx
    xor esi, esi
    xor edi, edi
    call eax

except_continue3:
    /* Reload try level and except again */
    mov edi, [ebx+8]
    lea ecx, [esi+esi*2]
    mov esi, [edi+ecx*4]
    jmp except_loop3

except_dismiss3:
    /* Dismiss it */
    mov eax, DISPOSITION_DISMISS
    jmp except_return3

except_search3:
    /* Continue searching */
    mov eax, DISPOSITION_CONTINUE_SEARCH
    jmp except_return3

    /* Do local unwind */
except_unwind3:
    push ebp
    mov ebp, [ebx+16]
    push -1
    push ebx
    call __local_unwind2
    add esp, 8

    /* Retore EBP and set return disposition */
    pop ebp
    mov eax, DISPOSITION_CONTINUE_SEARCH

except_return3:
    /* Restore registers and stack */
    pop ebp
    pop edi
    pop esi
    pop ebx
    mov esp, ebp
    pop ebp
    ret
.endfunc

//
//
// REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME REMOVE ME
//
//
.func RtlpGetStackLimits@8
.globl _RtlpGetStackLimits@8
_RtlpGetStackLimits@8:

    /* Get the current thread */
    mov eax, [fs:KPCR_CURRENT_THREAD]

    /* Get the stack limits */
    mov ecx, [eax+KTHREAD_STACK_LIMIT]
    mov edx, [eax+KTHREAD_INITIAL_STACK]
    sub edx, SIZEOF_FX_SAVE_AREA

    /* Return them */
    mov eax, [esp+4]
    mov [eax], ecx

    mov eax, [esp+8]
    mov [eax], edx

    /* return */
    ret 8
.endfunc

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产成人高清精品| 日本人妖一区二区| 欧美一区二区日韩| 成人福利视频在线看| 婷婷开心激情综合| 亚洲日本在线观看| 中文字幕一区二区三区在线不卡 | 不卡欧美aaaaa| 狠狠色狠狠色综合日日91app| 一区二区三区蜜桃网| 国产性色一区二区| 欧美成人video| 欧美日韩国产中文| 色伊人久久综合中文字幕| 国产一区二区91| 久久99久久99小草精品免视看| 亚洲一区二区在线观看视频 | 日本亚洲电影天堂| 亚洲一级在线观看| 一区二区三区欧美日| 中文字幕亚洲电影| 中文字幕在线视频一区| 久久免费精品国产久精品久久久久 | 一二三区精品福利视频| 中文字幕一区二区三区四区不卡| 337p粉嫩大胆噜噜噜噜噜91av| 欧美精品在欧美一区二区少妇| 色综合网色综合| www.99精品| 不卡一二三区首页| 成人18精品视频| 成人av电影免费在线播放| 国产69精品久久99不卡| 国产成人免费视频| 成人一区二区三区中文字幕| 国产一区二区三区综合| 国产成人精品一区二区三区网站观看 | 一区二区三区成人在线视频| 亚洲男人电影天堂| 一区二区三区在线免费观看| 亚洲一区视频在线观看视频| 亚洲永久精品国产| 亚洲r级在线视频| 日本成人超碰在线观看| 欧美aaaaa成人免费观看视频| 青青国产91久久久久久| 久久国产乱子精品免费女| 久久99久久久久久久久久久| 久久av资源站| 成人在线一区二区三区| 91在线免费视频观看| 色综合婷婷久久| 欧美肥胖老妇做爰| 日韩精品一区二区三区三区免费| 精品对白一区国产伦| 久久精品欧美日韩| 亚洲视频一二区| 亚洲成a人片在线不卡一二三区| 日韩高清不卡一区二区三区| 久久不见久久见中文字幕免费| 国产剧情av麻豆香蕉精品| 99久久精品久久久久久清纯| 在线精品亚洲一区二区不卡| 91精品久久久久久久91蜜桃| 26uuu欧美| 一区在线观看视频| 日韩有码一区二区三区| 国产精品一二三区| 91久久精品国产91性色tv | 69久久99精品久久久久婷婷| 久久亚洲精精品中文字幕早川悠里| 国产色爱av资源综合区| 一区二区在线观看免费视频播放| 婷婷成人综合网| 国产不卡视频一区二区三区| 色老汉av一区二区三区| 欧美草草影院在线视频| 国产精品麻豆久久久| 亚洲va欧美va人人爽| 风间由美性色一区二区三区| 欧美日韩一区在线| 久久精品一区二区三区不卡牛牛 | 欧美日韩国产在线观看| 国产午夜一区二区三区| 亚洲成人一区二区在线观看| 国产精品一二三四| 欧美疯狂做受xxxx富婆| 国产精品日产欧美久久久久| 日本中文字幕一区二区视频| 99免费精品视频| 精品久久久三级丝袜| 亚洲影院在线观看| 成人综合婷婷国产精品久久蜜臀| 制服丝袜亚洲网站| 亚洲裸体在线观看| 国产黑丝在线一区二区三区| 欧美老肥妇做.爰bbww| 国产精品久久夜| 九九久久精品视频| 欧美性猛片xxxx免费看久爱| 久久久午夜精品理论片中文字幕| 亚洲午夜免费电影| a级高清视频欧美日韩| 欧美成人aa大片| 午夜不卡在线视频| 色香蕉成人二区免费| 国产欧美va欧美不卡在线| 奇米一区二区三区| 欧美日韩精品电影| 亚洲免费观看高清| av电影天堂一区二区在线| 欧美va亚洲va香蕉在线| 石原莉奈在线亚洲三区| 在线观看日韩毛片| 中文字幕五月欧美| 成人av午夜电影| 国产色产综合色产在线视频| 久久国产免费看| 日韩精品一区二区三区在线观看| 午夜天堂影视香蕉久久| 欧美在线看片a免费观看| 综合激情网...| 成人av片在线观看| 国产精品欧美一级免费| 国产成人免费视频一区| 国产性做久久久久久| 国产精品99久久久久久似苏梦涵| 日韩精品一区二区三区在线播放| 天天综合网 天天综合色| 欧美日韩一本到| 午夜成人免费电影| 欧美一级电影网站| 奇米综合一区二区三区精品视频 | 亚洲欧美另类在线| 色综合一区二区三区| 亚洲欧美一区二区三区极速播放| 成人白浆超碰人人人人| 自拍偷拍亚洲欧美日韩| 在线免费观看成人短视频| 亚洲一区二区三区四区在线| 欧美日韩国产色站一区二区三区| 亚洲第一成人在线| 884aa四虎影成人精品一区| 日韩电影网1区2区| 精品国产免费人成电影在线观看四季| 精品一区二区免费| 国产日韩欧美精品综合| 国产.精品.日韩.另类.中文.在线.播放| 久久久精品欧美丰满| av电影天堂一区二区在线| 亚洲精品中文字幕在线观看| 欧美日韩一区 二区 三区 久久精品| 香蕉久久一区二区不卡无毒影院| 日韩一本二本av| 国产酒店精品激情| 亚洲色图19p| 制服丝袜成人动漫| 狠狠色丁香婷综合久久| 国产精品不卡视频| 在线观看av不卡| 蜜臀91精品一区二区三区| 26uuu欧美日本| 91色porny| 日本人妖一区二区| 久久九九久精品国产免费直播| 91片在线免费观看| 免费欧美日韩国产三级电影| 国产亚洲一区二区在线观看| av在线不卡免费看| 午夜视频一区在线观看| 久久久www成人免费无遮挡大片| 91小视频在线| 久久国产精品72免费观看| 国产精品美女久久久久久| 欧美日韩一级二级| 成人性生交大片免费看视频在线| 亚洲一区中文在线| 国产视频亚洲色图| 欧美疯狂做受xxxx富婆| 成人精品视频网站| 天堂av在线一区| 亚洲欧洲一区二区在线播放| 日韩一区二区三区免费看 | 色婷婷av一区二区| 国产一区二区伦理片| 一区二区三区在线免费| 精品福利av导航| 欧美人伦禁忌dvd放荡欲情| 国产69精品久久777的优势| 日韩影院免费视频| 亚洲人成网站在线| 国产视频一区二区在线| 91精品国产免费| 日本高清不卡在线观看| 国产成人在线视频网址| 青青草国产精品亚洲专区无| 伊人色综合久久天天人手人婷| 国产三级精品三级在线专区| 日韩免费高清av| 欧美日韩国产高清一区二区 |