News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

KeBugCheck

Started by Magnum, March 30, 2013, 11:28:44 PM

Previous topic - Next topic

Magnum

Does KeBugCheck only work in a driver ?

Andy


start:

xor     eax,eax
or      esi, 300h
add     eax, 220h
nop

cmp     [eax], esi
pop     esi
pop     ebx
jnz     short done
xor     ecx, ecx
push    ecx             ; BugCheckParameter4
push    ecx             ; BugCheckParameter3
push    ecx             ; BugCheckParameter2
push    ecx             ; BugCheckParameter1
push    0E2h            ; BugCheckCode MANUALLY_INITIATED_CRASH
mov     [eax], ecx
call    KeBugCheckEx    ;ds:__imp__KeBugCheckEx@20

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

Ke = kernel mode drivers only