runtime: export the default XMem allocation pair #879

Manually merged
github merged 2 commits from gh-pr/879/head into gh-pr/879/base 2026-11-26 22:25:20 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-23 15:24 UTC · original
R0Y00:codex/xmem-default-startup → main · +46 −18 · 5 files · 2 commits · merged 2026-11-23 15:45 UTC

Refs #870 and #875.

Export the two default allocation names through the existing unhooked desktop allocator and retain the original four export ordinals. Extend the source-built named-import fixture to exercise heap and graphics allocation, alignment, zero-fill, release, and rejected attributes through both pairs.

Windows x64, MSVC 19.51, Release. cmake --build --preset release --target xmem_shim_check followed by ctest --preset release --no-tests=error --output-on-failure -R '^xmem_shim_(exports|allocation|default_allocation|query)$' passed 4/4.

Local integration checkpoint: the bounded mapping probe now resolves the default allocator import and stops at the next unresolved physical-page allocation import. Guest entry remains untested.

**@⁠R0Y00** on GitHub · 2026-11-23 15:24 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/879) `R0Y00:codex/xmem-default-startup` → `main` · +46 −18 · 5 files · 2 commits · merged 2026-11-23 15:45 UTC Refs #870 and #875. Export the two default allocation names through the existing unhooked desktop allocator and retain the original four export ordinals. Extend the source-built named-import fixture to exercise heap and graphics allocation, alignment, zero-fill, release, and rejected attributes through both pairs. Windows x64, MSVC 19.51, Release. `cmake --build --preset release --target xmem_shim_check` followed by `ctest --preset release --no-tests=error --output-on-failure -R '^xmem_shim_(exports|allocation|default_allocation|query)$'` passed 4/4. Local integration checkpoint: the bounded mapping probe now resolves the default allocator import and stops at the next unresolved physical-page allocation import. Guest entry remains untested.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:25:19 +00:00
github manually merged commit fd38ead06d into gh-pr/879/base 2026-11-26 22:25:20 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-23 15:34 UTC · original

Review follow-up at fd38ead. MSVC generated ordinal imports for explicit DEF ordinals, including the existing callers. I kept the DLL ordinals and regenerated the consumer import library from the same export list using names. dumpbin /imports:xmem.dll now shows all six names in xmem_shim_check.exe and the old four by name in the startup companion DLL. Release passed the five focused XMem checks plus xmem_attribute_scan and cpu_native_shim_startup (7/7). Windows CI is rerunning. #875 remains open for the independent default-pair mapping comparison.

**@⁠R0Y00** on GitHub · 2026-11-23 15:34 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/879#issuecomment-7105771242) Review follow-up at `fd38ead`. MSVC generated ordinal imports for explicit DEF ordinals, including the existing callers. I kept the DLL ordinals and regenerated the consumer import library from the same export list using names. `dumpbin /imports:xmem.dll` now shows all six names in `xmem_shim_check.exe` and the old four by name in the startup companion DLL. Release passed the five focused XMem checks plus `xmem_attribute_scan` and `cpu_native_shim_startup` (7/7). Windows CI is rerunning. #875 remains open for the independent default-pair mapping comparison.
This discussion has been locked. Commenting is limited to contributors.
No description provided.