runtime: export the default XMem allocation pair #872
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/879"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T15:24:50Z.
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_checkfollowed byctest --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.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T15:34:14Z.
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.dllnow shows all six names inxmem_shim_check.exeand the old four by name in the startup companion DLL. Release passed the five focused XMem checks plusxmem_attribute_scanandcpu_native_shim_startup(7/7). Windows CI is rerunning. #875 remains open for the independent default-pair mapping comparison.