Show / Hide Table of Contents

    Class DetourNativeMonoPosixPlatform

    Inheritance
    System.Object
    DetourNativeMonoPosixPlatform
    Implements
    IDetourNativePlatform
    Namespace: MonoMod.RuntimeDetour.Platforms
    Assembly: MonoMod.RuntimeDetour.dll
    Syntax
    public sealed class DetourNativeMonoPosixPlatform : Object, IDetourNativePlatform

    Constructors

    DetourNativeMonoPosixPlatform(IDetourNativePlatform)

    Declaration
    public DetourNativeMonoPosixPlatform(IDetourNativePlatform inner)
    Parameters
    Type Name Description
    IDetourNativePlatform inner

    Methods

    Apply(NativeDetourData)

    Declaration
    public void Apply(NativeDetourData detour)
    Parameters
    Type Name Description
    NativeDetourData detour

    Copy(IntPtr, IntPtr, Byte)

    Declaration
    public void Copy(IntPtr src, IntPtr dst, byte type)
    Parameters
    Type Name Description
    System.IntPtr src
    System.IntPtr dst
    System.Byte type

    Create(IntPtr, IntPtr, Nullable<Byte>)

    Declaration
    public NativeDetourData Create(IntPtr from, IntPtr to, Nullable<byte> type)
    Parameters
    Type Name Description
    System.IntPtr from
    System.IntPtr to
    System.Nullable<System.Byte> type
    Returns
    Type Description
    NativeDetourData

    FlushICache(IntPtr, UInt32)

    Declaration
    public void FlushICache(IntPtr src, uint size)
    Parameters
    Type Name Description
    System.IntPtr src
    System.UInt32 size

    Free(NativeDetourData)

    Declaration
    public void Free(NativeDetourData detour)
    Parameters
    Type Name Description
    NativeDetourData detour

    MakeExecutable(IntPtr, UInt32)

    Declaration
    public void MakeExecutable(IntPtr src, uint size)
    Parameters
    Type Name Description
    System.IntPtr src
    System.UInt32 size

    MakeWritable(IntPtr, UInt32)

    Declaration
    public void MakeWritable(IntPtr src, uint size)
    Parameters
    Type Name Description
    System.IntPtr src
    System.UInt32 size

    MemAlloc(UInt32)

    Declaration
    public IntPtr MemAlloc(uint size)
    Parameters
    Type Name Description
    System.UInt32 size
    Returns
    Type Description
    System.IntPtr

    MemFree(IntPtr)

    Declaration
    public void MemFree(IntPtr ptr)
    Parameters
    Type Name Description
    System.IntPtr ptr

    sysconf(DetourNativeMonoPosixPlatform.SysconfName, DetourNativeMonoPosixPlatform.Errno)

    Declaration
    public static long sysconf(DetourNativeMonoPosixPlatform.SysconfName name, DetourNativeMonoPosixPlatform.Errno defaultError)
    Parameters
    Type Name Description
    DetourNativeMonoPosixPlatform.SysconfName name
    DetourNativeMonoPosixPlatform.Errno defaultError
    Returns
    Type Description
    System.Int64

    Implements

    IDetourNativePlatform
    Back to top Yet another C# modding swiss army knife.