Recompile the default Bink allocation and release callers #87

Merged
R0Y00 merged 1 commit from upstream-pr/88 into main 2026-11-21 15:43:34 +00:00
R0Y00 commented 2026-11-21 15:42:04 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T15:42:04Z.


Closes #74.

Lower the default Bink heap callers from a locally supplied x64 image and bind their named imports to a Windows process-heap adapter. The build can also translate a source-owned MASM fixture; Windows CI exercises the fixture and its native original through the same contract tests.

Local Windows checks passed for the package-derived translation, native control and translated control. Each implementation passed all 32 base residues, metadata and payload guard checks, 32 reverse-order releases, two early length rejections, three injected allocation failures and a null release. One failure observed a request above 4 GiB without allocating that amount. Custom callbacks and the console allocator's internal attribute semantics are outside this default-allocator test.

Only source, tests and reproduction notes are included. The local package and generated translations stay outside Git.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6530903698 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/88). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T15:42:04Z. --- Closes #74. Lower the default Bink heap callers from a locally supplied x64 image and bind their named imports to a Windows process-heap adapter. The build can also translate a source-owned MASM fixture; Windows CI exercises the fixture and its native original through the same contract tests. Local Windows checks passed for the package-derived translation, native control and translated control. Each implementation passed all 32 base residues, metadata and payload guard checks, 32 reverse-order releases, two early length rejections, three injected allocation failures and a null release. One failure observed a request above 4 GiB without allocating that amount. Custom callbacks and the console allocator's internal attribute semantics are outside this default-allocator test. Only source, tests and reproduction notes are included. The local package and generated translations stay outside Git.
upstream-sync closed this pull request 2026-11-24 06:41:16 +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!87
No description provided.