From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:DXBC" |
|---|
| claim | "DXBC container: fourCC DXBC, 16-byte hash, u16 major and u16 minor (1.0), u32 total size, u32 part count, then u32 offsets to parts; each part is u32 fourCC, u32 size, data. The fixed header is 32 bytes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:DXBC" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DxilContainerHeader" |
|---|
| size | "0x20" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "HeaderFourCC" |
|---|
|
| offset | "0x4" |
|---|
| size | 16 |
|---|
| type | "uint8_t[16]" |
|---|
| name | "Hash" |
|---|
|
| offset | "0x14" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "VersionMajor" |
|---|
|
| offset | "0x16" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "VersionMinor" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "ContainerSizeInBytes" |
|---|
|
| offset | "0x1C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "PartCount" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "DxilContainerHeader, DxilPartHeader, hash size 16, version 1.0" |
|---|
| repo | "https://github.com/microsoft/DirectXShaderCompiler" |
|---|
| commit | "194bb75bea2becb42810d72a16195089c1908e10" |
|---|
| path | "include/dxc/DxilContainer/DxilContainer.h" |
|---|
| lines | "28-74" |
|---|
|
| type | "source" |
|---|
| detail | "DXBC_HEADER_SIZE (8 * sizeof(uint32_t))" |
|---|
| repo | "https://github.com/wine-mirror/wine" |
|---|
| commit | "7298a818b79446bae153b8d5aa27235ab3703bf9" |
|---|
| path | "dlls/d3dcompiler_43/d3dcompiler_private.h" |
|---|
| lines | "517" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "DXBC container header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:51:54.397Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:12:54.595Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read DxilContainer.h DxilContainerHeader at the cited commit (pack 1): fourCC, 16-byte hash, u16 major, u16 minor, size, part count = 32 bytes, followed by PartOffset[]; DxilPartHeader is fourCC + size; version 1.0." |
|---|
|
|
|---|