Table of Contents

Namespace MonoMod.Core.Platforms

Classes

PlatformTriple
A triple of IArchitecture, ISystem, and IRuntime which provides higher-level operations based on the underlying implementations.
SimpleNativeDetour
A simple native detour from one address to another.

Structs

Abi
An ABI descriptor.
AllocationRequest
A memory allocation request.
FeatureFlags
A collection of feature flags for a particular PlatformTriple.
NativeDetourInfo
An aggregate which represents a native detour, as returned from ComputeDetourInfo(nint, nint, int) and ComputeRetargetInfo(NativeDetourInfo, nint, int) and consumed by their duals.
PlatformTriple.NativeDetour
A wrapper struct containing a SimpleNativeDetour and alternate entrypoint handle.
PositionedAllocationRequest
A memory allocation request which specifies a set of bounds which the allocation must fall into.

Interfaces

IAllocatedMemory
A single memory allocation from an IMemoryAllocator.
IAltEntryFactory
A factory for construction native alternate entrypoints for functions.
IArchitecture
Represents a host architecture.
IControlFlowGuard
An interface enabling interaction with features like Windows' Control Flow Guard.
IMemoryAllocator
A native memory allocator, capable of allocating memory within certain bounds.
INativeDetourKind
A native detour kind. The implementation is provided by the IArchitecture instance, and exposes only its size, in bytes.
INativeExceptionHelper
A native exception helper to enable interop with native code that throws exceptions.
IRuntime
Represents a host .NET runtime.
ISystem
Represents a host operating system.

Enums

ArchitectureFeature
A set of features which may be provided by an IArchitecture implementation.
PatchTargetKind
The kind of data which exists at a location to be patched.
RuntimeFeature
A set of features which may be provided by an IRuntime implementation.
SpecialArgumentKind
A kind of special argument used in the ABI. Used to specify argument order.
SystemFeature
A set of features which may be provided by an ISystem implementation.
TypeClassification
The ABI classification of a type.

Delegates

Classifier
A delegate which classifies a type according to its ABI.
GetExceptionSlot
A delegate which gets a pointer to the current thread's native exception slot.
OnMethodCompiledCallback
A callback which is called when a method is compiled by the JIT.