goldshtn / msos

Command-line environment a-la WinDbg for executing SOS commands without having SOS available.
Other
96 stars 21 forks source link

Identify non-managed synchronization mechanisms in waits #32

Closed goldshtn closed 8 years ago

goldshtn commented 9 years ago

Parse the unmanaged stack trace to detect calls to synchronization APIs such as:

  1. EnterCriticalSection
  2. WaitForSingleObject
  3. WaitForMultipleObjects

Obtain the object details from the stack (this would work reliably only on x86) and try to display more information about it, such as the object name and owner. This requires parsing the minidump streams, or calling a live API for a live target.

goldshtn commented 9 years ago

Look at DumpReader.cs in CLRMD -- it seems to already expose some of the functionality of getting these structures from a dump file.

goldshtn commented 8 years ago

Mostly done in #52.