runtime: export the default XMem allocation pair #879
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!879
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/879/head"
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?
@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 UTCRefs #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.
@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.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.