C# Class msos.StackWalkerStrategy

Stack walker abstract class, defining stack walker interface
Afficher le fichier Open project: goldshtn/msos Class Usage Examples

Protected Properties

Свойство Type Description
_runtime Microsoft.Diagnostics.Runtime.ClrRuntime

Méthodes publiques

Méthode Description
GetCriticalSectionBlockingObject ( UnifiedStackFrame frame, UnifiedBlockingObject &blockingObject ) : bool
SetFrameParameters ( UnifiedStackFrame frame ) : bool
StackWalkerStrategy ( Microsoft.Diagnostics.Runtime.ClrRuntime runtime ) : System

Méthodes protégées

Méthode Description
AddMultipleWaitInformation ( UnifiedStackFrame frame, uint numberOfHandles, ulong addressOfHandlesArray ) : void
AddSingleWaitInformation ( UnifiedStackFrame frame, ulong handleValue ) : void
ConvertToAddress ( byte bits ) : ulong
ExtractWaitForMultipleObjectsInformation ( UnifiedStackFrame frame ) : void
ExtractWaitForSingleObjectInformation ( UnifiedStackFrame frame ) : void
GetCriticalSectionBlockingObject ( UnifiedStackFrame frame ) : UnifiedBlockingObject

Private Methods

Méthode Description
DuplicateHandle ( IntPtr handle, uint pid, IntPtr &newHandle ) : bool
GetHandleObjectName ( IntPtr handle, uint pid ) : string

Retrieves the name of the object referenced by the specified handle using NtQueryObject.

GetHandleType ( IntPtr handle, uint pid ) : string

Retrieve the handle type name using NtQueryObject.

IsMatchingMethod ( UnifiedStackFrame frame, string key ) : bool
ReadHandles ( ulong startAddress, uint count ) : List

Method Details

AddMultipleWaitInformation() protected méthode

protected AddMultipleWaitInformation ( UnifiedStackFrame frame, uint numberOfHandles, ulong addressOfHandlesArray ) : void
frame UnifiedStackFrame
numberOfHandles uint
addressOfHandlesArray ulong
Résultat void

AddSingleWaitInformation() protected méthode

protected AddSingleWaitInformation ( UnifiedStackFrame frame, ulong handleValue ) : void
frame UnifiedStackFrame
handleValue ulong
Résultat void

ConvertToAddress() protected static méthode

protected static ConvertToAddress ( byte bits ) : ulong
bits byte
Résultat ulong

ExtractWaitForMultipleObjectsInformation() protected abstract méthode

protected abstract ExtractWaitForMultipleObjectsInformation ( UnifiedStackFrame frame ) : void
frame UnifiedStackFrame
Résultat void

ExtractWaitForSingleObjectInformation() protected abstract méthode

protected abstract ExtractWaitForSingleObjectInformation ( UnifiedStackFrame frame ) : void
frame UnifiedStackFrame
Résultat void

GetCriticalSectionBlockingObject() protected abstract méthode

protected abstract GetCriticalSectionBlockingObject ( UnifiedStackFrame frame ) : UnifiedBlockingObject
frame UnifiedStackFrame
Résultat UnifiedBlockingObject

GetCriticalSectionBlockingObject() public méthode

public GetCriticalSectionBlockingObject ( UnifiedStackFrame frame, UnifiedBlockingObject &blockingObject ) : bool
frame UnifiedStackFrame
blockingObject UnifiedBlockingObject
Résultat bool

SetFrameParameters() public méthode

public SetFrameParameters ( UnifiedStackFrame frame ) : bool
frame UnifiedStackFrame
Résultat bool

StackWalkerStrategy() public méthode

public StackWalkerStrategy ( Microsoft.Diagnostics.Runtime.ClrRuntime runtime ) : System
runtime Microsoft.Diagnostics.Runtime.ClrRuntime
Résultat System

Property Details

_runtime protected_oe property

protected ClrRuntime,Microsoft.Diagnostics.Runtime _runtime
Résultat Microsoft.Diagnostics.Runtime.ClrRuntime