mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[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
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1732
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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)
61bf603root_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_sigfails one check,versioned shim rejects Xbox flags with corrupt checksum. Theshim'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
D3D12CreateVersionedRootSignatureDeserializeraccepts it. The unversioned deserializercheck 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 onmain(FAIL versioned shim rejects Xbox flags with corrupt checksum), passes 3 of 3 with this branch, printingSKIP versioned host-vs-shim corrupted checksum rejection (this host accepts bad checksums)androot_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.