Implement core diagnostic memory layer, execution helpers, and high-level facade slices
Implemented: - Core: UTF-16 ReadString boundary/alignment fix, target bitness and process id on MemoryBase - function interception: PatchManager, DetourManager, InstructionAnalyzer, MainThreadDispatcher - Execution: BackgroundTaskExecutor, InProcessInvoker - High-level: Magic facade, RemotePointer, async wrappers - Discovery/external code loading/Window groundwork (PEB/TEB, pattern scanning, raw allocations, DLL external code loading, window/input) Tests: 180 passing, 4 integration/interactive tests skipped.
This commit is contained in:
@@ -33,6 +33,28 @@ public enum ProcessAccess : uint
|
||||
AllAccess = 0x001F0000 | Synchronize | 0xFFFF,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Access rights that open a thread object.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum ThreadAccess : uint
|
||||
{
|
||||
/// <summary>The right to terminate the thread with TerminateThread.</summary>
|
||||
Terminate = 0x0001,
|
||||
/// <summary>The right to suspend and resume the thread.</summary>
|
||||
SuspendResume = 0x0002,
|
||||
/// <summary>The right to read the thread context with GetThreadContext.</summary>
|
||||
GetContext = 0x0008,
|
||||
/// <summary>The right to set the thread context with SetThreadContext.</summary>
|
||||
SetContext = 0x0010,
|
||||
/// <summary>The right to query information from the thread.</summary>
|
||||
QueryInformation = 0x0040,
|
||||
/// <summary>The right to set information on the thread.</summary>
|
||||
SetInformation = 0x0020,
|
||||
/// <summary>All access rights for a thread object.</summary>
|
||||
AllAccess = 0x001F0FFF,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Values that control how VirtualAllocEx allocates memory.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user