2022-08-18 18:04:54 +02:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Tamper
|
2021-03-27 15:12:05 +01:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The regions in the virtual address space of the process that are used as base address of memory operations.
|
|
|
|
|
/// </summary>
|
|
|
|
|
enum MemoryRegion
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The position of the NSO associated with the cheat in the virtual address space.
|
|
|
|
|
/// NOTE: A game can have several NSOs, but the cheat only associates itself with one.
|
|
|
|
|
/// </summary>
|
|
|
|
|
NSO = 0x0,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The address of the heap, as determined by the kernel.
|
|
|
|
|
/// </summary>
|
2021-08-04 22:05:17 +02:00
|
|
|
|
Heap = 0x1,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The address of the alias region, as determined by the kernel.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Alias = 0x2,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The address of the code region with address space layout randomization included.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Asrl = 0x3,
|
2021-03-27 15:12:05 +01:00
|
|
|
|
}
|
|
|
|
|
}
|