upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/file_system.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-22 19:54:26 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-22 19:54:26 -0500
commita6f9bc4b24a1d839c94f9fb5c598f3b7b85b9f44 (patch)
tree0761fdb83eaf4ab555a8dd2f6d13d151dad636bc /runtime/shims/file_system.cpp
parent34c130c36cebd482f5e40eddb0d3e76ad30607d7 (diff)
slot 67: the description pinned from the DLL's code, a test built the DLL's way, every failed call logged
A tester on #3951 saw a slot-67 lookup miss with the real FidelityFX DLL where the base build had none, and read it as the proxy taking one program's kind 6 with another program's kind 0. Pinned from the DLL's code and run on all 29 payloads: its FSPX reader (0x1a20) and the same loop inline for a container store kinds 0, 1, 6 and 7 in four pairs from one payload, and the pipeline function copies them to +0x08, +0x18, +0x28 (the kind-6 copy, with kind 6's own size at +0x30) and +0x38 of the description. That is the layout the proxy reads, and code and state of one call always come from the same program. A harness that maps the DLL without running it, calls its reader on each payload and builds the description that way resolves every translated program to its own entry through slot 67 on the Vulkan device (26 of 29 on main aa2988cc; the other 3 are refused), on llvmpipe, the integrated GPU and the RX 7900 XTX. So the proxy does not mix programs. What fits the report: with slot 11 answered, the DLL goes on to its next pipeline, which that translation (20 of 29) does not have; only the first call of a slot is announced, so the miss read as the first call's. - d3d12_xs_device.cpp: every failed slot-67 call is logged with its number and the four sizes. - d3d12_fspx_compute_test: dll_slot67 builds the description from a container's own directory the way the DLL does (reader pair order, pointers into the payload, kind 6 copied into a 256-rounded buffer padded with 0xcc); each program resolves to its own translation with its own state. A proxy that read kind 0 from +0x18 or kind 6 with the rounded size fails the test. - docs/fspx.md, d3d12_command_objects.md, d3d12_vulkan.md: how the layout was pinned, and what happens when a later program is not translated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/file_system.cpp')
0 files changed, 0 insertions, 0 deletions