Repository navigation
Conversation
…(RT-526) The first call of every Xbox device slot the proxy forwards by number now logs the title code that made it as module+offset, and device_slot_first_caller(slot) returns the same text. Finding a new Xbox-only slot in the executable no longer needs a debugger. AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…of #9990) - The proxy no longer calls rt::shims::module_offset itself: gta6rt sets it with set_device_slot_caller_formatter; with none set the address is shown in hex, so xs_proxy_mock_test links d3d12_xs_device.cpp alone as before. - reset_device_proxy_stats() clears the stored caller with the first-call flag; xs_proxy_mock_test checks call -> caller -> reset -> empty -> call. - The accessor comment says which slots it covers and that it is a diagnostic observation (flag set before the caller is stored). AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 24, 2026
3 of 4 tasks
|
Carried over as #1390 (OLD-9990): both commits are kept with their author, rebased on current |
This was referenced Nov 24, 2026
Open
Collaborator
Author
|
Closing carried-over draft: carried over in #1390 (OLD-9990). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):RT-526 asked for two retail-boot diagnostics. One is already on main: stepping over the title's asserts is
LEONIDA_SKIP_INT3(runtime/shims/startup_trace.h, docs/boot.md). This PR adds the other one.What: the first call of every Xbox device slot the proxy forwards by number (the generic branch of
proxy_slot) now logs the title code that made it, as module+offset:device_slot_first_caller(slot)returns the same text ("" before a call). The caller is_ReturnAddress()ofproxy_slot, the vtable entry the title calls, andrt::shims::module_offsetnames it. Slots with a handler of their own log as before. Until now, finding a new Xbox-only slot in the executable needed a debugger.Tested:
#9809/#9815fix that. I built with those three fixes applied locally and didn't commit them.LEONIDA_D3D12=vulkan, on top of#7503so the boot reaches the device slots (main stops earlier, at DStorageGetFactory). 9 slots logged a caller, every one inside the title's executable. Slot 25's caller is the same title frame as the first title frame of the access violation that follows it, so the offsets are right. No offsets are posted here, per the project's rule.xs_proxy_mock_testanddevice_proxy_testdon't build on main today. Both miss the Vulkan include path forgfx10_descriptors.h, and the mock test also missescreate_console_descriptor_heap. That's a separate fix.Counts only, no game data. AI-assisted.
🤖 Generated with Claude Code