Repository navigation
Conversation
…e PC vtable refuse with E_NOTIMPL The retail title calls device slot 133, past the 128-entry table; the call read an empty entry and jumped to 0. Every slot beyond the PC device's vtable now reaches the generic thunk. Mock test covers slot 133. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested 4b76715 on NVIDIA GeForce RTX 5090, driver 617.42, Windows 11 (26200), MSVC 2022 RelWithDebInfo: pass.
AI-assisted (Claude Code). |
|
Tested
AI-assisted, outcomes only. Generated by Claude Code |
|
Tested 4b76715 on NVIDIA GeForce RTX 3060 (driver 617.14), Windows 11 (26300), MSVC 19.44.35229 (v143) + Ninja, RelWithDebInfo: pass.
AI-assisted (Claude Code). |
|
Tested
|
Claimed in the coordination issue as: #6750 (comment) (item 1, from the RT-5 boot measurement in #6915)
What and why
The retail executable calls Xbox device slot 133. The
d3d12_xsdevice proxy's vtable had 128 entries, so that call read past the table and jumped to address 0 (an access violation atrip 0) instead of reaching the generic thunk that refuses unknown slots.kMaxSlotsis now 192, with astatic_assertthat it covers 133. Every slot past the PC device's vtable is now refused withE_NOTIMPLand logged once, as the file already intends.The queue, fence and allocator proxies (
kQueueSlots,kFenceSlots,kAllocatorSlots) and the 11-slot heap proxy have the same fixed-size shape. Their tables refuse slots past the real object's count, but a call past the table itself would still go through an empty entry. I haven't seen the title do that yet, so they're left as they are.Tested
xs_proxy_mock_testnow calls device slot 133 through the proxy vtable and expectsE_NOTIMPL.ctest -R xs: 4/4 pass (xs_proxy_mock,_no_reserve,_no_protect,_no_handler). MSVC 2022 RelWithDebInfo, Windows 11, RTX 4090 (driver 617.42).gta6rt --run(with the PRs listed in docs: the retail boot chain, what stops gta6rt --run in order (RT-5 measurement) #6915), the title gets past this call.AI-assisted: yes (Claude Code)
Checklist
docs/design.md, with how it was confirmed. (n/a: runtime only)🤖 Generated with Claude Code