MemoryRegion.cs 1.0 KB

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