From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:XEX2 (Xbox 360 executable)" |
|---|
| claim | "The TLS info optional header (key 0x00020104, low key byte 0x04 = a 4-word structure at the offset the pair points to) is four big-endian u32: slot count, raw data address, data size, raw data size." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:XEX2 (Xbox 360 executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "xex2_opt_tls_info" |
|---|
| size | "0x10" |
|---|
| endianness | "big" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "slot_count" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "raw_data_address" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "data_size" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "raw_data_size" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct xex2_opt_tls_info with static_assert_size 0x10; key XEX_HEADER_TLS_INFO at line 294" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/kernel/util/xex2_info.h" |
|---|
| lines | "419-425" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "TLS info" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:38:19.901Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:38:06.429Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read struct xex2_opt_tls_info (xex2_info.h lines 419-425) at the cited commit: four xe::be<uint32_t> members at 0, 4, 8, 0xC with static_assert_size 0x10; XEX_HEADER_TLS_INFO = 0x00020104 in the key enum." |
|---|
|
|
|---|