From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:SEAMA" |
|---|
| claim | "A SEAMA entity starts with a 12-byte big-endian header (magic 0x5EA3A417, u16 reserved, u16 metadata size, u32 image size); when the image size is non-zero a 16-byte digest follows, then the metadata strings, then the image." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:SEAMA" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "seama_hdr" |
|---|
| size | "0xC" |
|---|
| endianness | "big" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "magic" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "reserved" |
|---|
|
| offset | "0x6" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "metasize" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "size" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct seama_hdr packed, SEAMA_MAGIC 0x5EA3A417, network byte order, layout diagram" |
|---|
| repo | "https://github.com/openwrt/firmware-utils" |
|---|
| commit | "0179ab1e367f756ac108a485f26585661d4c528c" |
|---|
| path | "src/seama.h" |
|---|
| lines | "12-86" |
|---|
|
| type | "source" |
|---|
| detail | "digest read only if isize > 0; meta size padded to 4" |
|---|
| repo | "https://github.com/openwrt/firmware-utils" |
|---|
| commit | "0179ab1e367f756ac108a485f26585661d4c528c" |
|---|
| path | "src/seama.c" |
|---|
| lines | "183-197, 243-259" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "SEAMA header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:50:47.843Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:38:00.014Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read seama.h 12-86: packed struct seama_hdr {u32 magic; u16 reserved; u16 metasize; u32 size}, SEAMA_MAGIC 0x5EA3A417, network byte order; the layout diagram shows the 16-byte MD5 digest present only in entities with an image size and absent in the 'image size (0 bytes)' form. seama.c was not re-read." |
|---|
|
|
|---|