Commit Graph

3 Commits

Author SHA1 Message Date
b9b425947c tests: the guid-sites header adds exactly one GUID over an empty header (CI-D3D12-GUID-SITES-EMPTY-CONTROL) 2026-11-28 20:42:28 -08:00
f6cbdb9385 tests: the guid-sites header count allows the GDK JSON the tool also loads (CI-D3D12-GUID-SITES-GDK-COUNT) 2026-11-28 18:24:30 -08:00
255156c2c8 d3d12_guid_sites, d3d12_iid_scan: report an unreadable header or import table (D3D12-TOOLS-ERROR-REPORTING)
d3d12_guid_sites ignored an explicit --header that does not exist and exited 0 with no known GUIDs.
Both tools now exit 2 with an ERROR line for a missing header and for a header with a malformed GUID.
d3d12_iid_scan keeps the d3d12_xs.dll names read before a parse error and warns on stderr instead of
returning None, so the 'imports may be IID data' warning is not lost.
New tests use hand-made files: missing header, malformed GUID, unreadable import table, and a good header.
2026-11-24 16:15:03 +01:00