d3d12_guid_sites: filter IEEE-754 float4 SIMD constant false positives #525
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!525
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/525/head"
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?
@kotekompotek on GitHub · 2026-11-24 06:55 UTC · original
kotekompotek:work/d3d12-guid-sites-float4-filter→main· +69 −0 · 2 files · 1 commits · merged 2026-11-24 07:38 UTCIEEE-754
float4SIMD constants in.rdata(such as(1.5f, 1.0f, ...)or(0.1f, 1.0f, ...)) frequently have exponent/mantissa bits in bytes 7 and 8 that match RFC-4122 UUID version 3/4 and variant10xx, pollutingd3d12_guid_sites.pyoutput with dozens of false-positiveUNKNOWNGUIDs (62 out of 259 unknowns on a retail console.exe)._looks_like_float4()totools/d3d12_guid_sites.pyand reject such constants inguid_shaped().tests/test_d3d12_guid_sites_float4.pyverifying that float4 constants are rejected while real D3D12/GDK GUIDs remain accepted (9 passedviapytest).@QemmHD on GitHub · 2026-11-24 07:38 UTC · original
Merging. Why merged: float4 SIMD constants such as (1.5f, 1.0f, ...) were being reported as GUIDs; the new filter rejects them while every real D3D12/GDK GUID is still accepted.
Why it's good: security-reviewed; tested on Windows 11 on main
d42773d: the new test fails on main (1 failed / 1 passed) and passes with this PR (2/2); the existing 10 guid_sites tests still pass.AI-assisted (Claude Code, Claude Opus 5.5).