Maple.Memory.Execution
0.1.0
dotnet add package Maple.Memory.Execution --version 0.1.0
NuGet\Install-Package Maple.Memory.Execution -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Maple.Memory.Execution" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Maple.Memory.Execution" Version="0.1.0" />
<PackageReference Include="Maple.Memory.Execution" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Maple.Memory.Execution --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Maple.Memory.Execution, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Maple.Memory.Execution@0.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Maple.Memory.Execution&version=0.1.0
#tool nuget:?package=Maple.Memory.Execution&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Maple.Memory
Allocator adapters, primitive read/write facades, and remote x86 call-stub execution for attached Maple process tooling. Windows-only, trimmable and AOT/NativeAOT compatible.
Packages
| Package | NuGet | Description |
|---|---|---|
| Maple.Memory | Allocator adapters and higher-level process-memory tooling | |
| Maple.Memory.Execution | Remote x86 call-stub generation and execution helpers |
Example
// Attach to a process and read/write primitive values
using var processMemory = new NullProcessMemory();
using var accessor = new MemoryAccessor(processMemory, ownsProcessMemory: false);
// Typed reads: byte, int32, uint32, pointer, bool32
accessor.TryReadInt32(0x00AB_0100u, out int hp);
accessor.TryReadPointer(0x00AB_0200u, out uint baseAddr);
// Typed writes
accessor.TryWriteInt32(0x00AB_0100u, 9999);
accessor.TryWriteByte(0x00AB_0300u, 0xFF);
// Stable reads retry until two consecutive snapshots match
Span<byte> snapshot = stackalloc byte[16];
accessor.TryReadStable(0x00AB_0400u, snapshot, maxAttempts: 3);
Example Catalogue
The following examples are available in ReadMeTest.cs.
Example - ShellcodeFactory
// Build x86 call stubs for remote thread execution
byte[] stdcallStub = Execution.ShellcodeFactory.CreateThreadProcCallStub(
functionAddress: 0x00AB_CDEFu,
arguments: [100u, 200u]
);
byte[] cdeclStub = Execution.ShellcodeFactory.CreateThreadProcCallStub(
functionAddress: 0x00AB_CDEFu,
arguments: [100u, 200u],
callingConvention: Execution.X86CallingConvention.Cdecl
);
byte[] thiscallStub = Execution.ShellcodeFactory.CreateThreadProcCallStub(
functionAddress: 0x00AB_CDEFu,
arguments: [100u],
callingConvention: Execution.X86CallingConvention.ThisCall,
thisPointer: 0xDEAD_BEEFu
);
Public API Reference
See docs/PublicApi.md for the complete auto-generated public API reference.
Note:
docs/PublicApi.mdis auto-updated by theReadMeTest_PublicApitest on everydotnet testrun. Do not edit it manually.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Iced (>= 1.21.0)
- Maple.Memory (>= 0.1.0)
- Maple.Process (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 114 | 3/28/2026 |