MOD: Difference between revisions

Created page with "MOD describes a module object. It is essentially a replacement for a PT_DYNAMIC program header. = ModuleHeaderLocation = This is "nn::rocrt::ModuleHeaderLocation". {| class=..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 59: Line 59:
| 0x4
| 0x4
| ModuleOffset (offset to runtime-generated module object, typically equal to .bss base)
| ModuleOffset (offset to runtime-generated module object, typically equal to .bss base)
|-
| 0x1C
| 0x4
| [19.0.0+] RelroStartOffset
|-
| 0x20
| 0x4
| [19.0.0+] FullRelroEndOffset
|-
| 0x24
| 0x4
| [19.0.0+] NxDebugLinkStartOffset
|-
| 0x28
| 0x4
| [19.0.0+] NxDebugLinkEndOffset
|-
| 0x2C
| 0x4
| [19.0.0+] NoteGnuBuildIdStartOffset
|-
| 0x30
| 0x4
| [19.0.0+] NoteGnuBuildIdEndOffset
|}
|}


== ModuleVersion ==
= ModuleVersion =
With [17.0.0+] this structure is normally located immediately after the [[ModuleHeader|ModuleHeader]]. This stores the nnSdk version.
With [17.0.0+] this structure is normally located immediately after the [[#ModuleHeader|ModuleHeader]]. This stores the nnSdk version.


{| class="wikitable" border="1"
{| class="wikitable" border="1"