Changes

Jump to navigation Jump to search
145 bytes added ,  19:20, 11 November 2018
surprised the page didn't already mention that compression is LZ4
Line 2: Line 2:  
NSO is the main executable format.
 
NSO is the main executable format.
   −
It starts with the "NSO" header and mainly describes .text, .rodata, and .data segments (like a short-form of ELF program headers):
+
It starts with the "NSO" header and mainly describes .text, .rodata, and .data segments (like a short-form of ELF program headers). If the segments are compressed, they are compressed using LZ4.
    
= NSO Header =
 
= NSO Header =
Line 56: Line 56:  
|-
 
|-
 
| 0x60
 
| 0x60
| 0x4 * 3
+
| 0x4
| CompressedSize[3]
+
| .text compressed size
 +
|-
 +
| 0x64
 +
| 0x4
 +
| .rodata compressed size
 +
|-
 +
| 0x68
 +
| 0x4
 +
| .data compressed size
 
|-
 
|-
 
| 0x6C
 
| 0x6C
117

edits

Navigation menu