Trigger INT3 on unexpected system thread termination
This commit is contained in:
@@ -34,6 +34,8 @@ XTAPI
|
|||||||
VOID
|
VOID
|
||||||
KE::KThread::HandleSystemThreadExit(VOID)
|
KE::KThread::HandleSystemThreadExit(VOID)
|
||||||
{
|
{
|
||||||
|
/* Trigger a debugger breakpoint */
|
||||||
|
asm("int $3\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user