upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/launcher_python.sh
diff options
context:
space:
mode:
authorhcristosm <hcristosm@gmail.com>2026-11-23 13:50:59 -0300
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 21:09:28 -0600
commit80ed5dd30438b507a03c6bb10e0adf0a0a403dea (patch)
tree49169f564713d4ab94b8642295e4c4623c0bc860 /scripts/launcher_python.sh
parent84347bbb61ed406db10195f50d5911893b8b9a4b (diff)
xmem: map physical pages without a cache modifier in the view protection
Three of the retail executable's five physical-page windows carry 0x400 (PAGE_WRITECOMBINE on the PC) next to PAGE_READWRITE. host_protect drops only the PAGE_GRAPHICS_* range, so map_page passed PAGE_READWRITE | PAGE_WRITECOMBINE to MapViewOfFile3, which refuses it with ERROR_INVALID_PARAMETER: the first XMemMapPhysicalPages into such a window failed and the title's descriptor-heap setup returned false. view_protect now drops PAGE_WRITECOMBINE, PAGE_NOCACHE and PAGE_GUARD. xmem_test maps a page into a window reserved with that protection. AI-assisted. (cherry picked from commit 7e8e3c1db1dc3c4c44cc56e2e586f99de2e65ae2)
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions