runtime: check era_gpu_alias refusals without a GPU #1728

Merged
Asimmimx merged 1 commit from upstream-pr/1735 into main 2026-11-24 20:07:57 +00:00
Asimmimx commented 2026-11-24 17:58:04 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Asimmimx on 2026-11-24T17:58:04Z.


Refs #1149.

Change

src/era_gpu_alias.h turns an existing VirtualAlloc allocation into a D3D12 heap with one placed buffer over it (ID3D12Device3::OpenExistingHeapFromAddress), so the GPU sees title memory at a desktop GPU address without copies. Before it calls D3D12, era_gpu_alias::open walks [base, base + size) with VirtualQuery. The header promises E_INVALIDARG without calling D3D12 when the span is not the start of one committed, accessible allocation (interior pointer, uncommitted, PAGE_NOACCESS or PAGE_GUARD tail, oversized or wrapping span). It also promises E_NOTIMPL when the device does not support existing heaps.

Tests that reach the header today:

  • gpu_alias_warp/_hardware (offscreen_check --gpu-alias) opens a real allocation and makes the refusals listed above;
  • gpu_alias_window_*, gpu_alias_lookup_*, gpu_alias_lookup_writes_* and gpu_alias_registry_* go through open on successful spans (the registry also with one interior block);
  • era_title_gpu_alloc links the file but never attaches a device.

All of these need a D3D12 device. D3D12 refuses most of the bad spans with E_INVALIDARG itself, so the hr == E_INVALIDARG checks in gpu_alias_warp also pass when open forwards the span. Only the debug layer's error count shows that D3D12 was reached (the experiments table already says so for message 1088). offscreen_check runs on without the layer and prints debug_layer=unavailable when Graphics Tools are missing. Six of the 20 single-point mutants below were killed only through that count. Eleven survived every test, among them a missing reset of the caller's Alias, an ignored Supported flag, and E_FAIL/E_NOINTERFACE where the header says E_NOTIMPL.

This PR adds era_gpu_alias_open, a device-free check, registered directly after the gpu_alias.cpp source line in CMakeLists.txt:

  • tests/era_gpu_alias_fake_device.{h,cpp} is a recording stand-in for ID3D12Device. The .cpp is compiled with CINTERFACE, so its vtable is the typed C struct from d3d12.h. Only CheckFeatureSupport and QueryInterface have real entries (both are answered as configured and recorded). Every other slot counts an unexpected call and returns E_FAIL. QueryInterface always returns E_NOINTERFACE, so open never gets further than the ID3D12Device3 query, and no heap or resource is needed.
  • tests/era_gpu_alias_check.cpp holds the cases below. Each open starts with an Alias whose size is a stale 7.
Case Expected
null device, null base, empty span E_INVALIDARG, no device call
pointer 0x1000 into an allocation; its second 64 KiB page E_INVALIDARG, no device call
two committed pages + one reserved: span 2 pages + 1 byte E_INVALIDARG, no device call
one byte past the end of a fully committed allocation E_INVALIDARG, no device call
size UINT64_MAX E_INVALIDARG, no device call
reserve-only allocation; committed head with a reserved tail E_INVALIDARG, no device call
same tail committed PAGE_NOACCESS; then PAGE_READWRITE | PAGE_GUARD (whole tail, and its first byte alone) E_INVALIDARG, no device call
1 byte, first page of two, both pages, 0x10003 bytes, the committed head of the reserved tail one CheckFeatureSupport(D3D12_FEATURE_EXISTING_HEAPS, ..., sizeof(D3D12_FEATURE_DATA_EXISTING_HEAPS)), then E_NOTIMPL
three regions of one allocation (READWRITE, READONLY, EXECUTE_READ), whole and one byte into the second the same
feature query fails / reports Supported = FALSE E_NOTIMPL, no QueryInterface
feature query reports Supported = TRUE one QueryInterface for ID3D12Device3, then E_NOTIMPL
every failure Alias left empty (heap, buffer null, size 0)

Negative control: era_gpu_alias_open_base_control builds the same check against a copy of era_gpu_alias.cpp generated at configure time without info.AllocationBase != base || . This follows the startup_gamesave_publish_unlocked pattern. CMake stops with FATAL_ERROR if the anchor is gone, and lists the source as a configure dependency so the copy follows edits. The test uses PASS_REGULAR_EXPRESSION "FAIL: interior pointer: passed to D3D12", so only that specific report passes it. A crash does not. In that build the check reports three failures: the interior pointer, the second page, and the byte past the end, which happened to be committed by the next allocation.

docs/experiments.md gets two rows in the CTest table of the title GPU address section, directly after gpu_alias_warp. No existing test, case or source file is changed.

Mutation probe

I applied each mutant to src/era_gpu_alias.cpp alone, rebuilt, ran the tests, then reverted. "Existing tests" means gpu_alias_warp, gpu_alias_window_warp, gpu_alias_lookup_warp, gpu_alias_lookup_writes_warp, gpu_alias_registry_warp and era_title_gpu_alloc, on WARP with the debug layer enabled. "Debug layer" means the run failed only on debug_errors, and every explicit E_INVALIDARG expectation held. For G4 and G12 the "existing" column was measured without this PR's CMake change, and the "new" column without the configure dependency, because the mutant removes the control's anchor. None of this is committed.

Mutant Existing tests With era_gpu_alias_open
G1 alias = {} on entry dropped survived killed
G2 empty span accepted killed by the debug layer only (597, CreatePlacedResource width) killed
G3 wrap guard dropped survived survived (equivalent, see below)
G4 AllocationBase not compared killed by the debug layer only (1088) killed
G5 State != MEM_COMMIT dropped survived survived (equivalent)
G6 Protect == 0 dropped survived survived (equivalent)
G7 PAGE_NOACCESS accepted killed by the debug layer only (1112) killed
G8 PAGE_GUARD accepted killed by the debug layer only (1112) killed
G9 cursor < region_base dropped survived survived (equivalent)
G10 RegionSize <= offset dropped survived survived (equivalent)
G11 only the first region walked killed by the debug layer only (1112) killed
G12 BaseAddress compared instead of AllocationBase killed by the debug layer only (1088) killed
G13 Supported ignored survived killed
G14 E_FAIL instead of E_NOTIMPL after the feature query survived killed
G15 wrong feature (D3D12_OPTIONS) killed killed
G16 E_NOINTERFACE instead of E_NOTIMPL without ID3D12Device3 survived killed
G17 heap size check dropped survived survived (not reachable without a heap)
G18 UAV flag dropped killed survived (WARP tests kill it)
G19 buffer width one byte short killed survived (WARP tests kill it)
G20 alias.size not set on success survived survived (not pinned)

Not pinned

  • Equivalent here: G3. A span long enough to wrap leaves the allocation, and the walk refuses it before cursor can wrap. G5 and G6: a reserved region reports both MEM_RESERVE and protection 0, so each check covers the other. G9 and G10: VirtualQuery returns the region holding the cursor, so these defensive checks cannot fail.
  • Past the ID3D12Device3 query: the heap size check, the resource description and alias.size on success (G17 to G20). A fake would have to stand in for OpenExistingHeapFromAddress, ID3D12Heap::GetDesc and CreatePlacedResource and would only repeat what the code passes. The WARP tests run the real calls and already kill G18 and G19. G17 and G20 stay open. Checking alias.size after a successful open in gpu_alias_warp would close G20. That is a device test and outside this change.
  • open accepts any committed allocation base, including a MEM_IMAGE or MEM_MAPPED region. The header only says the base should come from VirtualAlloc, so this check does not pin refusing or accepting them.

Verification

Commit 7fb32427 on branch tests/era-gpu-alias-check, based on 18a2942a (main). Environment: Windows 11 Pro build 26300.9974, MSVC 19.51.36260 (Visual Studio), Windows SDK 10.0.26100.0, CMake 3.30.4, dev preset (Debug), in-box WARP 10.0.26100.9818 with the debug layer enabled. No _hardware test was run.

cmake --preset dev
cmake --build --preset dev --target era_gpu_alias_check era_gpu_alias_base_control_check offscreen_check era_title_gpu_alloc_check
ctest --preset dev --no-tests=error -R '^(era_gpu_alias_open(_base_control)?|gpu_alias(_window|_lookup|_lookup_writes|_registry)?_warp|era_title_gpu_alloc)$'
#   8/8 passed
#   era_gpu_alias_open: "era_gpu_alias_check: PASS" (13 refusals with 0 device calls, 7 spans reach the feature query)
#   era_gpu_alias_open_base_control: "FAIL: interior pointer: passed to D3D12" ... "3 FAILED" (passes on the regex)

era_gpu_alias_check.exe passed 50 of 50 repeated runs, and the control build printed the expected line in 50 of 50. tests/docs_links_check.py (17 Markdown files, 364 links), tests/bidi_controls_check.py and git diff --check passed.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6588130837 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1735). Originally posted by [Asimmimx](https://github.com/Asimmimx) on 2026-11-24T17:58:04Z. --- Refs #1149. ## Change `src/era_gpu_alias.h` turns an existing `VirtualAlloc` allocation into a D3D12 heap with one placed buffer over it (`ID3D12Device3::OpenExistingHeapFromAddress`), so the GPU sees title memory at a desktop GPU address without copies. Before it calls D3D12, `era_gpu_alias::open` walks `[base, base + size)` with `VirtualQuery`. The header promises `E_INVALIDARG` **without calling D3D12** when the span is not the start of one committed, accessible allocation (interior pointer, uncommitted, `PAGE_NOACCESS` or `PAGE_GUARD` tail, oversized or wrapping span). It also promises `E_NOTIMPL` when the device does not support existing heaps. Tests that reach the header today: - `gpu_alias_warp`/`_hardware` (`offscreen_check --gpu-alias`) opens a real allocation and makes the refusals listed above; - `gpu_alias_window_*`, `gpu_alias_lookup_*`, `gpu_alias_lookup_writes_*` and `gpu_alias_registry_*` go through `open` on successful spans (the registry also with one interior block); - `era_title_gpu_alloc` links the file but never attaches a device. All of these need a D3D12 device. D3D12 refuses most of the bad spans with `E_INVALIDARG` itself, so the `hr == E_INVALIDARG` checks in `gpu_alias_warp` also pass when `open` forwards the span. Only the debug layer's error count shows that D3D12 was reached (the experiments table already says so for message 1088). `offscreen_check` runs on without the layer and prints `debug_layer=unavailable` when Graphics Tools are missing. Six of the 20 single-point mutants below were killed only through that count. Eleven survived every test, among them a missing reset of the caller's `Alias`, an ignored `Supported` flag, and `E_FAIL`/`E_NOINTERFACE` where the header says `E_NOTIMPL`. This PR adds `era_gpu_alias_open`, a device-free check, registered directly after the `gpu_alias.cpp` source line in `CMakeLists.txt`: - `tests/era_gpu_alias_fake_device.{h,cpp}` is a recording stand-in for `ID3D12Device`. The `.cpp` is compiled with `CINTERFACE`, so its vtable is the typed C struct from `d3d12.h`. Only `CheckFeatureSupport` and `QueryInterface` have real entries (both are answered as configured and recorded). Every other slot counts an unexpected call and returns `E_FAIL`. `QueryInterface` always returns `E_NOINTERFACE`, so `open` never gets further than the `ID3D12Device3` query, and no heap or resource is needed. - `tests/era_gpu_alias_check.cpp` holds the cases below. Each open starts with an `Alias` whose `size` is a stale 7. | Case | Expected | |---|---| | null device, null base, empty span | `E_INVALIDARG`, no device call | | pointer `0x1000` into an allocation; its second 64 KiB page | `E_INVALIDARG`, no device call | | two committed pages + one reserved: span 2 pages + 1 byte | `E_INVALIDARG`, no device call | | one byte past the end of a fully committed allocation | `E_INVALIDARG`, no device call | | size `UINT64_MAX` | `E_INVALIDARG`, no device call | | reserve-only allocation; committed head with a reserved tail | `E_INVALIDARG`, no device call | | same tail committed `PAGE_NOACCESS`; then `PAGE_READWRITE \| PAGE_GUARD` (whole tail, and its first byte alone) | `E_INVALIDARG`, no device call | | 1 byte, first page of two, both pages, `0x10003` bytes, the committed head of the reserved tail | one `CheckFeatureSupport(D3D12_FEATURE_EXISTING_HEAPS, ..., sizeof(D3D12_FEATURE_DATA_EXISTING_HEAPS))`, then `E_NOTIMPL` | | three regions of one allocation (`READWRITE`, `READONLY`, `EXECUTE_READ`), whole and one byte into the second | the same | | feature query fails / reports `Supported = FALSE` | `E_NOTIMPL`, no `QueryInterface` | | feature query reports `Supported = TRUE` | one `QueryInterface` for `ID3D12Device3`, then `E_NOTIMPL` | | every failure | `Alias` left empty (`heap`, `buffer` null, `size` 0) | Negative control: `era_gpu_alias_open_base_control` builds the same check against a copy of `era_gpu_alias.cpp` generated at configure time without `info.AllocationBase != base || `. This follows the `startup_gamesave_publish_unlocked` pattern. CMake stops with `FATAL_ERROR` if the anchor is gone, and lists the source as a configure dependency so the copy follows edits. The test uses `PASS_REGULAR_EXPRESSION "FAIL: interior pointer: passed to D3D12"`, so only that specific report passes it. A crash does not. In that build the check reports three failures: the interior pointer, the second page, and the byte past the end, which happened to be committed by the next allocation. `docs/experiments.md` gets two rows in the CTest table of the title GPU address section, directly after `gpu_alias_warp`. No existing test, case or source file is changed. ## Mutation probe I applied each mutant to `src/era_gpu_alias.cpp` alone, rebuilt, ran the tests, then reverted. "Existing tests" means `gpu_alias_warp`, `gpu_alias_window_warp`, `gpu_alias_lookup_warp`, `gpu_alias_lookup_writes_warp`, `gpu_alias_registry_warp` and `era_title_gpu_alloc`, on WARP with the debug layer enabled. "Debug layer" means the run failed only on `debug_errors`, and every explicit `E_INVALIDARG` expectation held. For G4 and G12 the "existing" column was measured without this PR's CMake change, and the "new" column without the configure dependency, because the mutant removes the control's anchor. None of this is committed. | Mutant | Existing tests | With `era_gpu_alias_open` | |---|---|---| | G1 `alias = {}` on entry dropped | **survived** | killed | | G2 empty span accepted | killed by the debug layer only (597, `CreatePlacedResource` width) | killed | | G3 wrap guard dropped | **survived** | **survived** (equivalent, see below) | | G4 `AllocationBase` not compared | killed by the debug layer only (1088) | killed | | G5 `State != MEM_COMMIT` dropped | **survived** | **survived** (equivalent) | | G6 `Protect == 0` dropped | **survived** | **survived** (equivalent) | | G7 `PAGE_NOACCESS` accepted | killed by the debug layer only (1112) | killed | | G8 `PAGE_GUARD` accepted | killed by the debug layer only (1112) | killed | | G9 `cursor < region_base` dropped | **survived** | **survived** (equivalent) | | G10 `RegionSize <= offset` dropped | **survived** | **survived** (equivalent) | | G11 only the first region walked | killed by the debug layer only (1112) | killed | | G12 `BaseAddress` compared instead of `AllocationBase` | killed by the debug layer only (1088) | killed | | G13 `Supported` ignored | **survived** | killed | | G14 `E_FAIL` instead of `E_NOTIMPL` after the feature query | **survived** | killed | | G15 wrong feature (`D3D12_OPTIONS`) | killed | killed | | G16 `E_NOINTERFACE` instead of `E_NOTIMPL` without `ID3D12Device3` | **survived** | killed | | G17 heap size check dropped | **survived** | **survived** (not reachable without a heap) | | G18 UAV flag dropped | killed | **survived** (WARP tests kill it) | | G19 buffer width one byte short | killed | **survived** (WARP tests kill it) | | G20 `alias.size` not set on success | **survived** | **survived** (not pinned) | ## Not pinned - **Equivalent here:** G3. A span long enough to wrap leaves the allocation, and the walk refuses it before `cursor` can wrap. G5 and G6: a reserved region reports both `MEM_RESERVE` and protection 0, so each check covers the other. G9 and G10: `VirtualQuery` returns the region holding the cursor, so these defensive checks cannot fail. - **Past the `ID3D12Device3` query:** the heap size check, the resource description and `alias.size` on success (G17 to G20). A fake would have to stand in for `OpenExistingHeapFromAddress`, `ID3D12Heap::GetDesc` and `CreatePlacedResource` and would only repeat what the code passes. The WARP tests run the real calls and already kill G18 and G19. G17 and G20 stay open. Checking `alias.size` after a successful open in `gpu_alias_warp` would close G20. That is a device test and outside this change. - `open` accepts any committed allocation base, including a `MEM_IMAGE` or `MEM_MAPPED` region. The header only says the base should come from `VirtualAlloc`, so this check does not pin refusing or accepting them. ## Verification Commit `7fb32427` on branch `tests/era-gpu-alias-check`, based on `18a2942a` (`main`). Environment: Windows 11 Pro build 26300.9974, MSVC 19.51.36260 (Visual Studio), Windows SDK 10.0.26100.0, CMake 3.30.4, `dev` preset (Debug), in-box WARP 10.0.26100.9818 with the debug layer enabled. No `_hardware` test was run. ```powershell cmake --preset dev cmake --build --preset dev --target era_gpu_alias_check era_gpu_alias_base_control_check offscreen_check era_title_gpu_alloc_check ctest --preset dev --no-tests=error -R '^(era_gpu_alias_open(_base_control)?|gpu_alias(_window|_lookup|_lookup_writes|_registry)?_warp|era_title_gpu_alloc)$' # 8/8 passed # era_gpu_alias_open: "era_gpu_alias_check: PASS" (13 refusals with 0 device calls, 7 spans reach the feature query) # era_gpu_alias_open_base_control: "FAIL: interior pointer: passed to D3D12" ... "3 FAILED" (passes on the regex) ``` `era_gpu_alias_check.exe` passed 50 of 50 repeated runs, and the control build printed the expected line in 50 of 50. `tests/docs_links_check.py` (17 Markdown files, 364 links), `tests/bidi_controls_check.py` and `git diff --check` passed. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted (Claude Code).
tedin7 commented 2026-11-24 19:01:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T18:06:30Z.

Review: COMMENTED


Peer review of PR #1735 at head 7fb32427ae17e951c47cb0a3ce4f455b11f1f795.

Summary

  • Scope & hygiene: Changes are confined to CMakeLists.txt, docs/experiments.md, tests/era_gpu_alias_check.cpp, tests/era_gpu_alias_fake_device.cpp, and tests/era_gpu_alias_fake_device.h. No src/ files were modified. Title-neutral, MIT clean-room.
  • Test quality: era_gpu_alias_check exercises era_gpu_alias::open against a CINTERFACE recording ID3D12Device fake (FakeDevice), verifying 13 E_INVALIDARG refusal cases with zero device calls (including VirtualQuery base, state, PAGE_NOACCESS, PAGE_GUARD, and address-wrap checks), 7 accepted spans reaching CheckFeatureSupport(D3D12_FEATURE_EXISTING_HEAPS) once, Alias clearing on failure, and ID3D12Device3 QueryInterface gating.
  • Negative control: era_gpu_alias_open_base_control strips info.AllocationBase != base || from a build-tree copy of src/era_gpu_alias.cpp (guarded by CMAKE_CONFIGURE_DEPENDS and FATAL_ERROR) and requires PASS_REGULAR_EXPRESSION "FAIL: interior pointer: passed to D3D12".
  • Findings: No P1 or P2 issues found.

Checks executed

  • Linux (prep-verify 1735):
    • python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py prep-verify 1735 --dir /tmp/rev-x2w-84/1735 --json -> git_diff_check: PASS, docs_links_check: PASS, bidi_controls_check: PASS, py_compile: PASS.
  • Win2025 Debug & Release /O2 (win2025 1735, Build 26100, MSVC 14.44.35207):
    • python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py win2025 1735 --targets era_gpu_alias_base_control_check,era_gpu_alias_check --regex "^(era_gpu_alias_open|era_gpu_alias_open_base_control)$"
    • Debug (--preset dev): 2/2 passed (era_gpu_alias_open 0.02s, era_gpu_alias_open_base_control 0.01s).
    • Release /O2 (--preset release): 2/2 passed (era_gpu_alias_open 0.02s, era_gpu_alias_open_base_control 0.01s).
  • Mutation check on src/era_gpu_alias.cpp (Win2025 Debug):
    • python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py win2025 1735 --targets era_gpu_alias_check --regex "^era_gpu_alias_open$" --skip-release --patch /tmp/rev-x2w-84/mut_1735.patch (removing | PAGE_GUARD from the info.Protect check in src/era_gpu_alias.cpp) -> Mutant killed: era_gpu_alias_open failed with FAIL: PAGE_GUARD tail: passed to D3D12 and FAIL: PAGE_GUARD tail, last byte: passed to D3D12 (era_gpu_alias_check: 2 FAILED).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044730263 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1735#pullrequestreview-6044730263). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T18:06:30Z. **Review:** COMMENTED --- Peer review of PR #1735 at head `7fb32427ae17e951c47cb0a3ce4f455b11f1f795`. ### Summary - **Scope & hygiene**: Changes are confined to `CMakeLists.txt`, `docs/experiments.md`, `tests/era_gpu_alias_check.cpp`, `tests/era_gpu_alias_fake_device.cpp`, and `tests/era_gpu_alias_fake_device.h`. No `src/` files were modified. Title-neutral, MIT clean-room. - **Test quality**: `era_gpu_alias_check` exercises `era_gpu_alias::open` against a `CINTERFACE` recording `ID3D12Device` fake (`FakeDevice`), verifying 13 `E_INVALIDARG` refusal cases with zero device calls (including `VirtualQuery` base, state, `PAGE_NOACCESS`, `PAGE_GUARD`, and address-wrap checks), 7 accepted spans reaching `CheckFeatureSupport(D3D12_FEATURE_EXISTING_HEAPS)` once, `Alias` clearing on failure, and `ID3D12Device3` `QueryInterface` gating. - **Negative control**: `era_gpu_alias_open_base_control` strips `info.AllocationBase != base || ` from a build-tree copy of `src/era_gpu_alias.cpp` (guarded by `CMAKE_CONFIGURE_DEPENDS` and `FATAL_ERROR`) and requires `PASS_REGULAR_EXPRESSION "FAIL: interior pointer: passed to D3D12"`. - **Findings**: No P1 or P2 issues found. ### Checks executed - **Linux (`prep-verify 1735`)**: - `python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py prep-verify 1735 --dir /tmp/rev-x2w-84/1735 --json` -> `git_diff_check`: PASS, `docs_links_check`: PASS, `bidi_controls_check`: PASS, `py_compile`: PASS. - **Win2025 Debug & Release `/O2` (`win2025 1735`, Build 26100, MSVC 14.44.35207)**: - `python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py win2025 1735 --targets era_gpu_alias_base_control_check,era_gpu_alias_check --regex "^(era_gpu_alias_open|era_gpu_alias_open_base_control)$"` - Debug (`--preset dev`): **2/2 passed** (`era_gpu_alias_open` `0.02s`, `era_gpu_alias_open_base_control` `0.01s`). - Release `/O2` (`--preset release`): **2/2 passed** (`era_gpu_alias_open` `0.02s`, `era_gpu_alias_open_base_control` `0.01s`). - **Mutation check on `src/era_gpu_alias.cpp` (Win2025 Debug)**: - `python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py win2025 1735 --targets era_gpu_alias_check --regex "^era_gpu_alias_open$" --skip-release --patch /tmp/rev-x2w-84/mut_1735.patch` (removing `| PAGE_GUARD` from the `info.Protect` check in `src/era_gpu_alias.cpp`) -> **Mutant killed**: `era_gpu_alias_open` failed with `FAIL: PAGE_GUARD tail: passed to D3D12` and `FAIL: PAGE_GUARD tail, last byte: passed to D3D12` (`era_gpu_alias_check: 2 FAILED`). AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-24 21:00:46 +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!1728
No description provided.