Translate ordinal-only PE imports and verify the Windows loader result #31

Merged
R0Y00 merged 1 commit from upstream-pr/31 into main 2026-11-21 10:20:01 +00:00
R0Y00 commented 2026-11-21 10:18:32 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T10:18:32Z.


Fixes #26. Resolve an ordinary x64 IAT slot by DLL and ordinal, and use an explicitly supplied import-library symbol for the known test ABI. Verify NONAME exports in both provider variants and verify the raw ordinal-flagged lookup word and call site in both linked callers.

Windows differential coverage uses 249 input pairs with normal and changed-return providers, guarded output and physical RBX/RSI checks. Missing DLLs produce error 126 and substitution with a provider exporting the linker name but missing ordinal 77 produces error 182. Static controls check missing providers, wrong ordinal, mismatched or incomplete bindings and a displaced IAT slot. The Bink/XAudio2_9 ordinal observation is static only.

Local non-hardware regression: 39 passed, one WARP wave64 capability skip. Reproduction commands and scope are in the README and experiment notes.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6527547923 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/31). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T10:18:32Z. --- Fixes #26. Resolve an ordinary x64 IAT slot by DLL and ordinal, and use an explicitly supplied import-library symbol for the known test ABI. Verify NONAME exports in both provider variants and verify the raw ordinal-flagged lookup word and call site in both linked callers. Windows differential coverage uses 249 input pairs with normal and changed-return providers, guarded output and physical RBX/RSI checks. Missing DLLs produce error 126 and substitution with a provider exporting the linker name but missing ordinal 77 produces error 182. Static controls check missing providers, wrong ordinal, mismatched or incomplete bindings and a displaced IAT slot. The Bink/XAudio2_9 ordinal observation is static only. Local non-hardware regression: 39 passed, one WARP wave64 capability skip. Reproduction commands and scope are in the README and experiment notes.
upstream-sync closed this pull request 2026-11-24 06:41:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
R0Y00/Xbox2Windows!31
No description provided.