From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PyOxidizer packed resources" |
|---|
| claim | "After the 8-byte 'pyembed\x03' header come u8 blob_section_count, u32 blob_index_length, u32 resources_count, u32 resources_index_length (little-endian, 13 bytes), then the blob index, the resources index and the blob data; blob data starts at 8 + 13 + blob_index_length + resources_index_length." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PyOxidizer packed resources" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "PackedResourcesHeaderV3" |
|---|
| size | 21 |
|---|
| fields | | name | "magic" |
|---|
| offset | 0 |
|---|
| type | "char[8] 'pyembed\x03'" |
|---|
|
| name | "blob_section_count" |
|---|
| offset | 8 |
|---|
| type | "uint8" |
|---|
|
| name | "blob_index_length" |
|---|
| offset | 9 |
|---|
| type | "uint32 LE" |
|---|
|
| name | "resources_count" |
|---|
| offset | 13 |
|---|
| type | "uint32 LE" |
|---|
|
| name | "resources_index_length" |
|---|
| offset | 17 |
|---|
| type | "uint32 LE" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "load_resources_v3 reads these four values in order after the 8-byte header; blob_start_offset = 1 + 4 + 4 + 4 + blob_index_length + resources_index_length (relative to the data after the magic)" |
|---|
| repo | "https://github.com/indygreg/PyOxidizer" |
|---|
| commit | "1ceca8664c71f39e849ce4873e00d821504b32bd" |
|---|
| path | "python-packed-resources/src/parser.rs" |
|---|
| lines | "530-548, 628-640" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Header and indexes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:49:38.615Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T16:36:50.376Z" |
|---|
| summary | "data.endianness little added (read_u32::<LittleEndian>)." |
|---|
| changed | |
|---|
|
|
|---|