mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
added I/O device control wait detection
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1339 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -941,7 +941,20 @@ namespace ProcessHacker.Components
|
||||
|
||||
IntPtr handle = stackFrame.Params[0];
|
||||
|
||||
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a named pipe:");
|
||||
sb.AppendLine("Thread " + tid.ToString() + " is waiting for a named pipe or a file:");
|
||||
|
||||
sb.AppendLine(this.GetHandleString(_pid, handle));
|
||||
}
|
||||
else if (
|
||||
name.StartsWith("ntdll.dll!zwdeviceiocontrolfile") ||
|
||||
name.StartsWith("ntdll.dll!ntdeviceiocontrolfile")
|
||||
)
|
||||
{
|
||||
found = true;
|
||||
|
||||
IntPtr handle = stackFrame.Params[0];
|
||||
|
||||
sb.AppendLine("Thread " + tid.ToString() + " is waiting for an I/O control request:");
|
||||
|
||||
sb.AppendLine(this.GetHandleString(_pid, handle));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user