Class DetourNativeMonoPosixPlatform
Inheritance
System.Object
DetourNativeMonoPosixPlatform
Assembly: MonoMod.RuntimeDetour.dll
public sealed class DetourNativeMonoPosixPlatform : Object, IDetourNativePlatform
Constructors
Declaration
public DetourNativeMonoPosixPlatform(IDetourNativePlatform inner)
Parameters
Methods
Declaration
public void Apply(NativeDetourData detour)
Parameters
Declaration
public void Copy(IntPtr src, IntPtr dst, byte type)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
src |
|
| System.IntPtr |
dst |
|
| System.Byte |
type |
|
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
Declaration
public void FlushICache(IntPtr src, uint size)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
src |
|
| System.UInt32 |
size |
|
Declaration
public void Free(NativeDetourData detour)
Parameters
Declaration
public void MakeExecutable(IntPtr src, uint size)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
src |
|
| System.UInt32 |
size |
|
Declaration
public void MakeWritable(IntPtr src, uint size)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
src |
|
| System.UInt32 |
size |
|
Declaration
public IntPtr MemAlloc(uint size)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
size |
|
Returns
| Type |
Description |
| System.IntPtr |
|
Declaration
public void MemFree(IntPtr ptr)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
ptr |
|
Declaration
public static long sysconf(DetourNativeMonoPosixPlatform.SysconfName name, DetourNativeMonoPosixPlatform.Errno defaultError)
Parameters
Returns
| Type |
Description |
| System.Int64 |
|
Implements