From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:MCUboot image" |
|---|
| claim | "MCUboot image_header, little endian, 32 bytes: ih_magic 0x96f3b83d, ih_load_addr, ih_hdr_size u16, ih_protect_tlv_size u16, ih_img_size, ih_flags, version (u8 major, u8 minor, u16 revision, u32 build_num), u32 pad." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "MCUboot image v1 headers" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "mcuboot_image_header" |
|---|
| size | "0x20" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ih_magic" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ih_load_addr" |
|---|
|
| offset | "0x8" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "ih_hdr_size" |
|---|
|
| offset | "0xA" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "ih_protect_tlv_size" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ih_img_size" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ih_flags" |
|---|
|
| offset | "0x14" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "ver_major" |
|---|
|
| offset | "0x15" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "ver_minor" |
|---|
|
| offset | "0x16" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "ver_revision" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ver_build_num" |
|---|
|
| offset | "0x1C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "pad1" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct image_header, struct image_version" |
|---|
| repo | "https://github.com/mcu-tools/mcuboot" |
|---|
| commit | "e19ad039b4864a2a49883c8279e4a24abbbcfe84" |
|---|
| path | "boot/bootutil/include/bootutil/image.h" |
|---|
| lines | "145-176" |
|---|
|
| type | "source" |
|---|
| detail | "Comment above struct image_header: 'All fields are in little endian byte order'" |
|---|
| repo | "https://github.com/mcu-tools/mcuboot" |
|---|
| commit | "e19ad039b4864a2a49883c8279e4a24abbbcfe84" |
|---|
| path | "boot/bootutil/include/bootutil/image.h" |
|---|
| lines | "166" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "image_header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:23:46.397Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:49.118Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read mcuboot boot/bootutil/include/bootutil/image.h at e19ad03: image_header fields in order, image_version {u8,u8,u16,u32} = 8 bytes at 0x14, _pad1 at 0x1C, total 0x20." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:49:18.787Z" |
|---|
| summary | "Byte order set: image.h comment 'All fields are in little endian byte order'" |
|---|
| changed | |
|---|
|
|
|---|