mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #525] [MERGED] d3d12_guid_sites: filter IEEE-754 float4 SIMD constant false positives #572
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#572
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/525
Author: @kotekompotek
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:work/d3d12-guid-sites-float4-filter📝 Commits (1)
76faa39d3d12_guid_sites: filter IEEE-754 float4 SIMD constant false positives📊 Changes
2 files changed (+69 additions, -0 deletions)
View changed files
➕
tests/test_d3d12_guid_sites_float4.py(+54 -0)📝
tools/d3d12_guid_sites.py(+15 -0)📄 Description
IEEE-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).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.