Table of Contents

Interface ISystem

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
Represents a host operating system.
public interface ISystem

Properties

DefaultAbi
Gets the default ABI for this OS, if there is one.
Features
Gets the set of SystemFeatures that this instance supports. Some members may only be available with certain feature flags set.
MemoryAllocator
Gets the IMemoryAllocator for this OS.
NativeExceptionHelper
Gets the INativeExceptionHelper for this OS, if it is needed.
Target
Gets the OSKind which this instance represents.

Methods

EnumerateLoadedModuleFiles()
Enumerates all modules which are loaded in the process and yields their file names.
GetSizeOfReadableMemory(nint, nint)
Gets an approximate amount of memory after start which is readable.
PatchData(PatchTargetKind, nint, ReadOnlySpan<byte>, Span<byte>)
Patches patchTarget to contain the data in data, while creating a backup of the data which was previously there in backup.