Namespace MonoMod.Core.Platforms
Classes
- AbiArgumentMap
- A mapping which defines how arguments in one MethodAbi should be mapepd to arguments in another.
- AbiArgumentMapResultExtensions
- Extensions for AbiArgumentMapResult.
- MethodAbi
- A method's ABI signature.
- 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.
- AbiArgument
- A description of a method argument at the ABI level.
- AbiArgumentMapElement
- A mapping of a method argument from one MethodAbi to another.
- AllocationRequest
- A memory allocation request.
- FeatureFlags
- A collection of feature flags for a particular PlatformTriple.
- GetAsyncVariantRealDetourTargetArgs
- Arguments for GetAsyncVariantRealDetourTarget(GetAsyncVariantRealDetourTargetArgs, AbiArgumentMap, out IDisposable?).
- LoadedModule
- Represents a module loaded into a particular process.
- 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.
- RuntimeAsyncMethodInfo
- Information about the runtime-async behavior of a method.
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.
- MethodAbiFlags
- Flags which are used to inform GetMethodAbi(MethodBase, MethodAbiFlags) of information about the method which it cannot determine on its own from just the MethodBase.
- MethodAbiUsage
- An enum used to specify which method ABI usage to compute the effective ABI for.
- PatchTargetKind
- The kind of data which exists at a location to be patched.
- RuntimeAsyncVariantFlags
- Flags used in RuntimeAsyncMethodInfo to indicate properties of the given handles.
- 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.