MemoryRegion.cs 910 B

1234567891011121314151617181920212223242526272829
  1. namespace Ryujinx.HLE.HOS.Tamper
  2. {
  3. /// <summary>
  4. /// The regions in the virtual address space of the process that are used as base address of memory operations.
  5. /// </summary>
  6. enum MemoryRegion
  7. {
  8. /// <summary>
  9. /// The position of the NSO associated with the cheat in the virtual address space.
  10. /// NOTE: A game can have several NSOs, but the cheat only associates itself with one.
  11. /// </summary>
  12. NSO = 0x0,
  13. /// <summary>
  14. /// The address of the heap, as determined by the kernel.
  15. /// </summary>
  16. Heap = 0x1,
  17. /// <summary>
  18. /// The address of the alias region, as determined by the kernel.
  19. /// </summary>
  20. Alias = 0x2,
  21. /// <summary>
  22. /// The address of the code region with address space layout randomization included.
  23. /// </summary>
  24. Asrl = 0x3,
  25. }
  26. }