From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Tool:Nexe" |
|---|
| claim | "A nexe executable ends with the 16-byte string '<nexe~~sentinel>' followed by two little-endian IEEE doubles: launch code size and resource (virtual file system) size; the data sit directly before the sentinel as [launch code][resources]." |
|---|
| scope | | level | "tool" |
|---|
| applies_to | "Tool:nexe" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NexeFooter" |
|---|
| size | 32 |
|---|
| fields | | name | "sentinel" |
|---|
| offset | 0 |
|---|
| type | "char[16] '<nexe~~sentinel>'" |
|---|
|
| name | "content_size" |
|---|
| offset | 16 |
|---|
| type | "double LE" |
|---|
|
| name | "resource_size" |
|---|
| offset | 24 |
|---|
| type | "double LE" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "trailers = Buffer.alloc(16); writeDoubleLE(codeSize,0); writeDoubleLE(vfsSize,8); concatenated after the sentinel; boot-nexe.ts reads footer.readDoubleLE(16) and (24) from the sentinel position" |
|---|
| repo | "https://github.com/nexe/nexe" |
|---|
| commit | "6220bf052223d5347ae656f0f680f33303b6a874" |
|---|
| path | "src/compiler.ts" |
|---|
| lines | "296-325" |
|---|
|
| type | "source" |
|---|
| detail | "trailers.writeDoubleLE(codeSize, 0); trailers.writeDoubleLE(vfsSize, 8)" |
|---|
| repo | "https://github.com/nexe/nexe" |
|---|
| commit | "6220bf052223d5347ae656f0f680f33303b6a874" |
|---|
| path | "src/compiler.ts" |
|---|
| lines | "319-323" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Nexe footer" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T08:08:14.526Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:26:37.942Z" |
|---|
| result | "confirmed" |
|---|
| method | "Downloaded src/compiler.ts at the cited commit and read _assembleDeliverable (lines 290-325): streams are binary, launch code, vfs bundle, then Buffer.concat([sentinel '<nexe~~sentinel>', trailers]) with writeDoubleLE(codeSize,0) and writeDoubleLE(vfsSize,8). Note the footer is only appended when options.mangle is true (otherwise the binary is returned as is). I did not re-read boot-nexe.ts." |
|---|
| notes | "Footer exists only for mangle builds (default)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:51:33.592Z" |
|---|
| summary | "Byte order set: the two trailer sizes are written with writeDoubleLE" |
|---|
| changed | |
|---|
|
|
|---|