Table of Contents

Struct NativeDetourInfo

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
An aggregate which represents a native detour, as returned from ComputeDetourInfo(nint, nint, int) and ComputeRetargetInfo(NativeDetourInfo, nint, int) and consumed by their duals.
public readonly record struct NativeDetourInfo

Constructors

NativeDetourInfo(nint, nint, INativeDetourKind, IDisposable?)
An aggregate which represents a native detour, as returned from ComputeDetourInfo(nint, nint, int) and ComputeRetargetInfo(NativeDetourInfo, nint, int) and consumed by their duals.

Properties

From
The source address of the detour.
InternalData
A data field which allows the IArchitecture instance to persist data through calls. Often, this is a memory allocation handle.
InternalKind
The INativeDetourKind for the detour.
Size
Gets the size, in bytes, of the detour this represents.
To
The target address of the detour.