NSO: Difference between revisions
FrasierCrane (talk | contribs) m Keep consistency of .ro = .rodata. |
Misson20000 (talk | contribs) surprised the page didn't already mention that compression is LZ4 |
||
(One intermediate revision by one other user not shown) | |||
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 | | 0x4 | ||
| | | .text compressed size | ||
|- | |||
| 0x64 | |||
| 0x4 | |||
| .rodata compressed size | |||
|- | |||
| 0x68 | |||
| 0x4 | |||
| .data compressed size | |||
|- | |- | ||
| 0x6C | | 0x6C |