Class DetourNativeLibcPlatform
Inheritance
System.Object
DetourNativeLibcPlatform
Assembly: MonoMod.RuntimeDetour.dll
public sealed class DetourNativeLibcPlatform : Object, IDetourNativePlatform
Constructors
Declaration
public DetourNativeLibcPlatform(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 |
|
Implements