Recompile a bound x64 object-table callback on Windows #32

Manually merged
github merged 1 commit from gh-pr/32/head into gh-pr/32/base 2026-11-26 21:23:16 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-21 11:07 UTC · original
R0Y00:codex/typed-object-callback → main · +148 −5 · 7 files · 1 commits · merged 2026-11-21 11:08 UTC

Fixes #29.

The chained x64 translator can now lower a memory-indirect call through a known object-table slot. The fixture declares a two-word Windows callback ABI. The host binds the table and function address for each run. Unknown bindings return status 0 with the output untouched.

The new Windows differential test swaps two providers between table slots and compares callback identity, both arguments, the full return value and output guards. It also checks both null paths and four unresolved bindings. The production FidelityFX callback ABI remains unknown.

Verified locally with cmake --build --preset dev and ctest --preset dev --no-tests=error --output-on-failure. Of 60 tests, 58 passed and two wave64 capability tests skipped. The existing partial profile still reports one indirect stop and two completed return paths for the local loader.

**@⁠R0Y00** on GitHub · 2026-11-21 11:07 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/32) `R0Y00:codex/typed-object-callback` → `main` · +148 −5 · 7 files · 1 commits · merged 2026-11-21 11:08 UTC Fixes #29. The chained x64 translator can now lower a memory-indirect call through a known object-table slot. The fixture declares a two-word Windows callback ABI. The host binds the table and function address for each run. Unknown bindings return status 0 with the output untouched. The new Windows differential test swaps two providers between table slots and compares callback identity, both arguments, the full return value and output guards. It also checks both null paths and four unresolved bindings. The production FidelityFX callback ABI remains unknown. Verified locally with `cmake --build --preset dev` and `ctest --preset dev --no-tests=error --output-on-failure`. Of 60 tests, 58 passed and two wave64 capability tests skipped. The existing partial profile still reports one indirect stop and two completed return paths for the local loader.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:09 +00:00
github manually merged commit a80b15c7df into gh-pr/32/base 2026-11-26 21:23:16 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.