C# Class CsDebugScript.ThreadContext

Thread context of the process being debugged.
Show file Open project: southpolenator/WinDbgCs Class Usage Examples

Private Properties

Property Type Description
CreateArrayMarshaler MarshalArrayReader
GetContextSize int
GetNativeStructureSize uint
PtrToStructure ThreadContext
ReadBytes byte[]
ReadWowX64Structure ThreadContext
ReadX64Structure ThreadContext
ReadX86Structure ThreadContext
StructureToPtr void
ThreadContext CsDebugScript.Engine.Marshaling
ThreadContext CsDebugScript.Engine.Marshaling

Public Methods

Method Description
ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
CreateArrayMarshaler ( Process process, int elementsCount ) : MarshalArrayReader

Creates the array marshaler.

GetContextSize ( Process process ) : int

Gets the size of the context.

GetNativeStructureSize ( Process process ) : uint

Gets the size of the native structure.

PtrToStructure ( Process process, IntPtr pointer ) : ThreadContext

Converts from native structure to managed object.

ReadBytes ( IntPtr pointer, Type type ) : byte[]

Reads the structure bytes.

ReadWowX64Structure ( IntPtr pointer ) : ThreadContext

Reads the WoW X64 structure.

ReadX64Structure ( IntPtr pointer ) : ThreadContext

Reads the X64 structure.

ReadX86Structure ( IntPtr pointer ) : ThreadContext

Reads the X86 structure.

StructureToPtr ( ThreadContext value, IntPtr pointer ) : void

Converts from managed object to native structure.

ThreadContext ( ) : CsDebugScript.Engine.Marshaling

Prevents a default instance of the ThreadContext class from being created.

ThreadContext ( ulong instructionPointer, ulong stackPointer, ulong framePointer ) : CsDebugScript.Engine.Marshaling

Initializes a new instance of the ThreadContext class.

Method Details

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string