[NTOSKRNL]

- Print the base address of the process that we killed to make debugging much easier

svn path=/trunk/; revision=47593
This commit is contained in:
Cameron Gutman
2010-06-05 17:51:12 +00:00
parent cb9c4019bb
commit e8b356d800
+3 -2
View File
@@ -1082,10 +1082,11 @@ DispatchToUser:
}
/* 3rd strike, kill the process */
DPRINT1("Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx\n",
DPRINT1("Kill %.16s, ExceptionCode: %lx, ExceptionAddress: %lx, BaseAddress: %lx\n",
PsGetCurrentProcess()->ImageFileName,
ExceptionRecord->ExceptionCode,
ExceptionRecord->ExceptionAddress);
ExceptionRecord->ExceptionAddress,
PsGetCurrentProcess()->SectionBaseAddress);
ZwTerminateProcess(NtCurrentProcess(), ExceptionRecord->ExceptionCode);
KeBugCheckEx(KMODE_EXCEPTION_NOT_HANDLED,