mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
added LPC port wait detection and NT user message wait detection
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1335 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -932,6 +932,31 @@ namespace ProcessHacker.Components
|
||||
|
||||
sb.AppendLine(this.GetHandleString(_pid, handle));
|
||||
}
|
||||
else if (
|
||||
name.StartsWith("ntdll.dll!zwreplywaitreceiveport") ||
|
||||
name.StartsWith("ntdll.dll!ntreplywaitreceiveport") ||
|
||||
name.StartsWith("ntdll.dll!zwrequestwaitreplyport") ||
|
||||
name.StartsWith("ntdll.dll!ntrequestwaitreplyport") ||
|
||||
name.StartsWith("ntdll.dll!zwalpcsendwaitreceiveport") ||
|
||||
name.StartsWith("ntdll.dll!ntalpcsendwaitreceiveport")
|
||||
)
|
||||
{
|
||||
found = true;
|
||||
|
||||
IntPtr handle = stackFrame.Params[0];
|
||||
|
||||
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a LPC port:");
|
||||
|
||||
sb.AppendLine(this.GetHandleString(_pid, handle));
|
||||
}
|
||||
else if (
|
||||
name.StartsWith("ntdll.dll!ntusergetmessage")
|
||||
)
|
||||
{
|
||||
found = true;
|
||||
|
||||
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a USER message.");
|
||||
}
|
||||
else if (
|
||||
name.StartsWith("ntdll.dll!zwdelayexecution") ||
|
||||
name.StartsWith("ntdll.dll!ntdelayexecution")
|
||||
|
||||
Reference in New Issue
Block a user