From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BOM (Bill of Materials store)" |
|---|
| claim | "BOM tree block header and node layout (big-endian): 'tree', version, child, blockSize, pathCount, 1 byte; node = isLeaf u16, count u16, forward u32, backward u32, then count pairs of u32 block indexes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BOM (Bill of Materials store)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BOMTree / BOMPaths" |
|---|
| size_min | 21 |
|---|
| endianness | "big" |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "char[4]" |
|---|
| name | "tree" |
|---|
| notes | "always 'tree'" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "version" |
|---|
| notes | "always 1" |
|---|
|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "child" |
|---|
| notes | "block index of the first BOMPaths node" |
|---|
|
| offset | 12 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "blockSize" |
|---|
| notes | "always 4096" |
|---|
|
| offset | 16 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "pathCount" |
|---|
| notes | "total paths in all leaves" |
|---|
|
| offset | 20 |
|---|
| size | 1 |
|---|
| type | "u8" |
|---|
| name | "unknown" |
|---|
|
|
|---|
| paths_node | | name | "BOMPaths" |
|---|
| size_min | 12 |
|---|
| fields | | offset | 0 |
|---|
| size | 2 |
|---|
| type | "u16" |
|---|
| name | "isLeaf" |
|---|
|
| offset | 2 |
|---|
| size | 2 |
|---|
| type | "u16" |
|---|
| name | "count" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "forward" |
|---|
|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "u32" |
|---|
| name | "backward" |
|---|
|
| offset | 12 |
|---|
| size | "8*count" |
|---|
| type | "BOMPathIndices[count]" |
|---|
| name | "indices" |
|---|
| notes | "{u32 index0; u32 index1}: leaf: index0 -> BOMPathInfo1, branch: index0 -> BOMPaths; index1 always -> BOMFile" |
|---|
|
|
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct BOMTree and BOMPaths" |
|---|
| repo | "https://github.com/hogliux/bomutils" |
|---|
| commit | "c247002e2f49878bab32dd0fcf805810ae0992cb" |
|---|
| path | "src/bom.h" |
|---|
|
| type | "source" |
|---|
| detail | "TreeHeader and Tree readers" |
|---|
| repo | "https://github.com/blacktop/ipsw" |
|---|
| commit | "a9eae76e8b1e901e4a03dd530defac8a1b33f91a" |
|---|
| path | "pkg/bom/bom.go" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T21:36:54.078Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:21:08.263Z" |
|---|
| summary | "The claim described the BOMPaths node but data listed only the BOMTree header; added the node fields from struct BOMPaths/BOMPathIndices and the 'always' notes (both structs are packed in bom.h)." |
|---|
| changed | |
|---|
|
|
|---|