From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Platform:Xbox" |
|---|
| claim | "A running title's XBE image header sits in guest virtual memory at 0x10000; xemu checks the little-endian dword 0x48454258 (XBEH) there and reads m_sizeof_headers bytes, refusing headers larger than 8 pages, to show title info." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Xbox" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "xemu_get_xbe_info()" |
|---|
| effect | "maps virtual 0x10000 to physical (NULL if that fails), checks the XBEH signature, reads m_sizeof_headers bytes and then the certificate; returns NULL when the signature is missing, the headers are over 8*TARGET_PAGE_SIZE, the DMA read is short, or m_certificate_addr is 0 or its certificate would end past the headers" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "hdr_addr_virt = 0x10000, signature 0x48454258, headers_len cap" |
|---|
| repo | "https://github.com/xemu-project/xemu" |
|---|
| commit | "2de2c2228df8669ff244f9137c75974e6927f43e" |
|---|
| path | "xemu-xbe.c" |
|---|
| lines | "82-125" |
|---|
|
| type | "source" |
|---|
| detail | "xemu_get_xbe_info: all NULL-return branches, including the certificate bounds check at the end" |
|---|
| repo | "https://github.com/xemu-project/xemu" |
|---|
| commit | "2de2c2228df8669ff244f9137c75974e6927f43e" |
|---|
| path | "xemu-xbe.c" |
|---|
| lines | "81-137" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "xemu reads the XBE header at 0x10000" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:38:19.667Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:40:13.284Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched xemu-xbe.c at xemu 2de2c2228df8 and read xemu_get_xbe_info whole (lines 81-137): hdr_addr_virt 0x10000, virt_to_phys failure -> NULL, XBEH 0x48454258 check, m_sizeof_headers > 8*TARGET_PAGE_SIZE -> NULL, short DMA read -> NULL, certificate address 0 or past the headers -> NULL. Matches claim and data." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:17:55.887Z" |
|---|
| summary | "xemu_get_xbe_info also returns NULL when virt_to_phys fails, the header read is short, or the certificate address is 0 or lies outside the headers" |
|---|
| changed | |
|---|
|
|
|---|