From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:ExFAT" |
|---|
| claim | "The exFAT stream extension entry (0xC0) holds flags (bit 0 allocation possible, bit 1 NoFatChain), name length, name hash, valid data length, first cluster and data length." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ExFAT" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "exfat_stream_entry" |
|---|
| size | "0x20" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x00" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "type" |
|---|
| condition | "0xC0" |
|---|
|
| offset | "0x01" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "flags" |
|---|
|
| offset | "0x03" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "name_len" |
|---|
|
| offset | "0x04" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "name_hash" |
|---|
|
| offset | "0x08" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "valid_size" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "start_clu" |
|---|
|
| offset | "0x18" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "size" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "stream struct; ALLOC_POSSIBLE 0x01, ALLOC_NO_FAT_CHAIN 0x03; offsets computed after the type byte" |
|---|
| repo | "torvalds/linux" |
|---|
| commit | "c03c1a14507dfaf8b856c2608f9ac216021fc222" |
|---|
| path | "fs/exfat/exfat_raw.h" |
|---|
| lines | "30-33, 136-146" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Stream extension entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:22:23.221Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:04:44.628Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read the stream struct and ALLOC_POSSIBLE/ALLOC_NO_FAT_CHAIN/EXFAT_STREAM 0xC0 in linux fs/exfat/exfat_raw.h at the cited commit: type byte, flags 1, reserved 1, name_len 3, name_hash 4, reserved2 6, valid_size 8, reserved3 0x10, start_clu 0x14, size 0x18; 32-byte entries." |
|---|
|
|
|---|