From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:AppImage" |
|---|
| claim | "A type 2 AppImage carries the bytes 41 49 02 at file offset 8: they overwrite e_ident[EI_ABIVERSION] (offset 8) and the first two EI_PAD bytes (9-10) of the ELF header. The runtime's linker script additionally emits the same three bytes as an .appimage section aligned at 0x400, described as a proposed future location." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:AppImage" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "41 49 02" |
|---|
| offset | 8 |
|---|
| meaning | "AppImage type 2 marker ("AI", 2); at offset 8 it overlaps EI_ABIVERSION and EI_PAD; the same bytes also appear in an .appimage section aligned at 0x400" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "echo -ne 'AI\x02' | dd of=runtime bs=1 count=3 seek=8 conv=notrunc" |
|---|
| repo | "https://github.com/AppImage/type2-runtime" |
|---|
| commit | "8f39b89e2ac31e1640b3d3f7e9a5108e6ce805fa" |
|---|
| path | "scripts/build-runtime.sh" |
|---|
|
| type | "source" |
|---|
| detail | ".appimage section with BYTE 0x41, 0x49, 0x02" |
|---|
| repo | "https://github.com/AppImage/type2-runtime" |
|---|
| commit | "8f39b89e2ac31e1640b3d3f7e9a5108e6ce805fa" |
|---|
| path | "src/runtime/data_sections.ld" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "AppImage type 2 magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:22:47.298Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:14:09.576Z" |
|---|
| summary | "Bytes and offset confirmed (build-runtime.sh line 58 writes 'AI\x02' with dd seek=8; data_sections.ld defines the same three bytes 0x41 0x49 0x02), but offset 8 is e_ident[EI_ABIVERSION], not…" |
|---|
| changed | |
|---|
|
|
|---|