C# Class Binarysharp.MemoryManagement.Native.ThreadContext

Show file Open project: ZenLulz/MemorySharp Class Usage Examples

Public Properties

Property Type Description
ContextFlags ThreadContextFlags
Dr0 uint
Dr1 uint
Dr2 uint
Dr3 uint
Dr6 uint
Dr7 uint
EFlags uint
Eax uint
Ebp uint
Ebx uint
Ecx uint
Edi uint
Edx uint
Eip uint
Esi uint
Esp uint
SegCs uint
SegDs uint
SegEs uint
SegFs uint
SegGs uint
SegSs uint

Property Details

ContextFlags public property

Determines which registers are returned or set when using NativeMethods.GetThreadContext or NativeMethods.SetThreadContext. If the context record is used as an INPUT parameter, then for each portion of the context record controlled by a flag whose value is set, it is assumed that portion of the context record contains valid context. If the context record is being used to modify a threads context, then only that portion of the threads context will be modified. If the context record is used as an INPUT/OUTPUT parameter to capture the context of a thread, then only those portions of the thread's context corresponding to set flags will be returned. The context record is never used as an OUTPUT only parameter.
public ThreadContextFlags ContextFlags
return ThreadContextFlags

Dr0 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr0
return uint

Dr1 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr1
return uint

Dr2 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr2
return uint

Dr3 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr3
return uint

Dr6 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr6
return uint

Dr7 public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.DebugRegisters.
public uint Dr7
return uint

EFlags public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint EFlags
return uint

Eax public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Eax
return uint

Ebp public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint Ebp
return uint

Ebx public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Ebx
return uint

Ecx public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Ecx
return uint

Edi public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Edi
return uint

Edx public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Edx
return uint

Eip public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint Eip
return uint

Esi public property

This register is specified/returned if the ContextFlags word contains the flag ThreadContextFlags.Integer.
public uint Esi
return uint

Esp public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint Esp
return uint

SegCs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint SegCs
return uint

SegDs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Segments.
public uint SegDs
return uint

SegEs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Segments.
public uint SegEs
return uint

SegFs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Segments.
public uint SegFs
return uint

SegGs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Segments.
public uint SegGs
return uint

SegSs public property

This is specified/returned if ContextFlags contains the flag ThreadContextFlags.Control.
public uint SegSs
return uint