2012年7月5日星期四

KeBugCheckEx.asm


;这个代码够简单吧!
;这是知识点,非技巧。有时知识大于技巧。
;更多的还有KeRegisterBugCheckCallback,KeRegisterBugCheckReasonCallback,KeBugCheck。
.386
.model flat, stdcall
option casemap:none

include ntddk.inc
include ntoskrnl.inc
includelib ntoskrnl.lib

.code
DriverEntry proc pDriverObject:PDRIVER_OBJECT, pusRegistryPath:PUNICODE_STRING
  invoke KeBugCheckEx,0,9,99h,999h,9999h
  mov eax, 0
  ret
DriverEntry endp
end DriverEntry 
;made at 2011.06.03

没有评论:

发表评论