[PR #1719] root_sig_test: the versioned corrupt-checksum check asks the host first, as the unversioned one does (TEST-ROOT-SIG-VERSIONED-WIN10) #1732

Open
opened 2026-11-26 21:18:46 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1719
Author: @qhukz13
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: cont/root-sig-versioned-win10


📝 Commits (1)

  • 61bf603 root_sig_test: probe host versioned deserializer before asserting corrupt-checksum rejection

📊 Changes

1 file changed (+12 additions, -3 deletions)

View changed files

📝 runtime/test/root_sig_test.cpp (+12 -3)

📄 Description

Claimed in the coordination issue as: TEST-ROOT-SIG-VERSIONED-WIN10 (claim)

What and why

On Windows 10 19045 root_sig fails one check, versioned shim rejects Xbox flags with corrupt checksum. The
shim's helper refuses to rewrite and re-sign a blob whose DXBC checksum is corrupted and passes it to the host
unchanged, and that in-box D3D12CreateVersionedRootSignatureDeserializer accepts it. The unversioned deserializer
check further down already handles exactly this: it asks the host first and prints
SKIP host-vs-shim corrupted checksum rejection (this host accepts bad checksums) where the host accepts.

The versioned check now does the same: it probes the host's versioned deserializer with the same blob, asserts that
the shim rejects it where the host does, and prints a SKIP line otherwise. The shim is not changed.

(#235, carried over from old-pr/9968, targeted two other checks of this test; its change is already on main.)

Tested

GeForce GTX 1050 Ti, NVIDIA 582.66, Windows 10 Pro 19045, MSVC RelWithDebInfo, ctest -R "^root_sig$": fails on
main (FAIL versioned shim rejects Xbox flags with corrupt checksum), passes 3 of 3 with this branch, printing
SKIP versioned host-vs-shim corrupted checksum rejection (this host accepts bad checksums) and
root_sig_test: OK (0 failures). A host that rejects bad checksums keeps the assertion.

GPUs tested: NVIDIA GeForce GTX 1050 Ti, driver 582.66, Windows 10 19045. No game files.

AI-assisted: yes (Claude Code, with Antigravity for the implementation and the runs)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1719 **Author:** [@qhukz13](https://github.com/qhukz13) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `cont/root-sig-versioned-win10` --- ### 📝 Commits (1) - [`61bf603`](https://github.com/ubiquitarianism/leonida/commit/61bf603378ba6cb52cf1d6bdb7211d8abde26174) root_sig_test: probe host versioned deserializer before asserting corrupt-checksum rejection ### 📊 Changes **1 file changed** (+12 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/root_sig_test.cpp` (+12 -3) </details> ### 📄 Description Claimed in the coordination issue as: TEST-ROOT-SIG-VERSIONED-WIN10 ([claim](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158508340)) ### What and why On Windows 10 19045 `root_sig` fails one check, `versioned shim rejects Xbox flags with corrupt checksum`. The shim's helper refuses to rewrite and re-sign a blob whose DXBC checksum is corrupted and passes it to the host unchanged, and that in-box `D3D12CreateVersionedRootSignatureDeserializer` accepts it. The unversioned deserializer check further down already handles exactly this: it asks the host first and prints `SKIP host-vs-shim corrupted checksum rejection (this host accepts bad checksums)` where the host accepts. The versioned check now does the same: it probes the host's versioned deserializer with the same blob, asserts that the shim rejects it where the host does, and prints a SKIP line otherwise. The shim is not changed. (#235, carried over from old-pr/9968, targeted two other checks of this test; its change is already on `main`.) ### Tested GeForce GTX 1050 Ti, NVIDIA 582.66, Windows 10 Pro 19045, MSVC RelWithDebInfo, `ctest -R "^root_sig$"`: fails on `main` (`FAIL versioned shim rejects Xbox flags with corrupt checksum`), passes 3 of 3 with this branch, printing `SKIP versioned host-vs-shim corrupted checksum rejection (this host accepts bad checksums)` and `root_sig_test: OK (0 failures)`. A host that rejects bad checksums keeps the assertion. GPUs tested: NVIDIA GeForce GTX 1050 Ti, driver 582.66, Windows 10 19045. No game files. AI-assisted: yes (Claude Code, with Antigravity for the implementation and the runs) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1732
No description provided.