mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 03:39:52 +00:00
docs: record D3D12, input, lifecycle and security results, decision proposals and the audit ledger
Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
This commit is contained in:
1 parent
14a54f8bb9
commit
b42133add9
9 files changed
+948
-62
No files matched your search
@@ -14,6 +14,7 @@ remains unsupported.
|
||||
- Windows programs started by the hybrid runner no longer inherit the host environment: only a short allowlist and explicit `--env` values are passed. Before this, tokens and `SSH_AUTH_SOCK` were visible to them. This is not a sandbox.
|
||||
|
||||
### Added
|
||||
- Added a security review of the hybrid path, a shader-import decision proposal, a reference-project assessment and a per-file audit coverage ledger, which shows the repository audit is incomplete.
|
||||
- Recorded an evaluation of utmapp/d3dmetal-native: it builds, 4 of its 55 tests pass without Apple's framework, it was not run against D3DMetal, and it is not adopted (`docs/research/d3dmetal-native-evaluation.md`).
|
||||
- Documented the hybrid execution path, its acceptance gates and an audit of the integration base, including which parts of the repository were not read (`docs/hybrid-execution.md`, `docs/research/hybrid-runtime-audit-2026-11-25.md`).
|
||||
- Added `betterxen hybrid`, the same commands as `betterxen-hybrid` inside the main CLI, plus `stop --bottle` for recovery. Runs stop their process group and bottle on SIGINT, SIGTERM and SIGHUP, and record any workload process left behind.
|
||||
|
||||
@@ -70,6 +70,11 @@ checkpoints retain their original evidence scope.
|
||||
- [Public sources](research/sources.md), [RDNA 2 notes](research/rdna2.md), and [Xbox GPU evidence](research/xbox-gpu.md) — Specifications, evidence scope, and unknown console behavior.
|
||||
- [Shader inputs](research/shader-containers.md) and [risk register](risk-register.md) — Input provenance and unresolved engineering risks.
|
||||
- [Running a program through the hybrid path](hybrid-execution.md) — What each layer owns, the commands, the acceptance gates with their evidence and limits, and security limits.
|
||||
- [Security review of the hybrid path](research/security-audit-2026-11-25.md) — Why a CrossOver bottle is not a sandbox, findings and what was not reviewed.
|
||||
- [Shader import decision proposal](research/shader-import-decision.md) — The objections to #394 sorted by kind, what can be kept, and the options.
|
||||
- [Reference projects](research/reference-projects-2026-11-25.md) — Which rules restrict each reference repository and what a different policy could evaluate.
|
||||
- [PortWatch VI inventory](research/portwatch-inventory-2026-11-25.md) — Metadata-only snapshot of the tracker's projects ([JSON](research/portwatch-inventory-2026-11-25.json)).
|
||||
- [Audit coverage ledger](research/audit-ledger.tsv) — Every tracked file with the depth it was inspected.
|
||||
- [d3dmetal-native evaluation](research/d3dmetal-native-evaluation.md) — Source review and build of a Wine-free D3DMetal host; not run against D3DMetal; reference only.
|
||||
- [Hybrid runtime audit and integration record](research/hybrid-runtime-audit-2026-11-25.md) — Integration base, open pull-request dispositions, audit coverage and remaining blockers (2026-11-25).
|
||||
- [Upstream integration audit](research/upstream-integration-audit.md) — Source-level review of external macOS compatibility projects, licence and provenance decisions, and what was implemented in `crates/hybrid`.
|
||||
|
||||
+47
-35
@@ -7,7 +7,7 @@ How BetterXen launches an original Windows program through an installed CrossOve
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph host["Native arm64 macOS (BetterXen)"]
|
||||
CLI["betterxen-hybrid run / bench"] --> PRE["identify program, check backend name and bottle"]
|
||||
CLI["betterxen hybrid run / bench"] --> PRE["identify program, check backend name and bottle"]
|
||||
PRE --> SUP["supervisor: memory, stall, timeout, output limit"]
|
||||
SUP --> REC["classification, gates, JSON record"]
|
||||
end
|
||||
@@ -38,61 +38,73 @@ The native research crates (`xenora-*`: x86-64 loader and translator, GFX10.3 sh
|
||||
|
||||
CrossOver's `bin/wine --bottle`, `wineserver -k` and `CX_GRAPHICS_BACKEND` are not documented by CodeWeavers as macOS automation interfaces ([#350](https://github.com/MacosPorters/betterxen/issues/350)). A CrossOver update may break them.
|
||||
|
||||
## Commands
|
||||
## Commands and independent reproduction
|
||||
|
||||
```sh
|
||||
export RUSTUP_TOOLCHAIN=1.100.0-aarch64-apple-darwin
|
||||
cargo build --release -p betterxen-hybrid
|
||||
target/release/betterxen-hybrid doctor --bottle BOTTLE
|
||||
workloads/d3d11-integrated/build.sh "$LLVM_MINGW"
|
||||
target/release/betterxen-hybrid run --bottle BOTTLE --expect "PASS integrated" --out artifacts/hybrid-runs \
|
||||
-- "$PWD/artifacts/hybrid-workloads/x86_64/d3d11-integrated.exe" --frames 600
|
||||
scripts/hybrid/accept-integrated.sh "$LLVM_MINGW" BOTTLE
|
||||
```
|
||||
`betterxen hybrid <command>` is the interface; the `betterxen-hybrid` binary runs the same code. Commands: `doctor`, `inspect`, `run`, `bench`, `stop`, `guard`, `frames`, `receipt`.
|
||||
|
||||
Prerequisites: Apple Silicon Mac, CrossOver (user-installed), a `win11_64` bottle, Rosetta 2, Rust 1.100.0, the [pinned llvm-mingw](research/hybrid-toolchain.md), and for the window check a GUI session with the Screen Recording permission.
|
||||
The child process receives only `HOME`, `USER`, `LOGNAME`, `TMPDIR`, the locale variables, a system-only `PATH`, and values given with `--env NAME=VALUE`. `--inherit-env true` passes everything. SIGINT, SIGTERM and SIGHUP stop the run; after a SIGKILL of the supervisor use `betterxen hybrid stop --bottle BOTTLE`. Use one run per bottle at a time.
|
||||
|
||||
To reproduce the results, on an Apple Silicon Mac:
|
||||
|
||||
1. Install CrossOver yourself and create a `win11_64` bottle. Install Rosetta 2, Rust 1.100.0 and the Xcode command-line tools (`swift`, `swiftc`).
|
||||
2. Download the [pinned llvm-mingw](research/hybrid-toolchain.md), check its SHA-256 and unpack it.
|
||||
3. Grant your terminal Screen Recording and Accessibility permission.
|
||||
4. Close heavy applications: runs are refused below 50 % free memory.
|
||||
5. From a clean checkout: `scripts/hybrid/accept-integrated.sh LLVM_MINGW_DIR BOTTLE`. Do not type while the keyboard step runs.
|
||||
6. Report every `ok`, `KNOWN` and `FAIL` line, `commit.txt`, `receipt.json` and the CrossOver version, on [#355](https://github.com/MacosPorters/betterxen/issues/355). Records contain local paths; read them before sharing.
|
||||
|
||||
Reviewing the expected images independently is part of the job: they are computed in `expected_pixel` in each workload and again in `check_window.py`, all written by the same author.
|
||||
|
||||
## Acceptance gates
|
||||
|
||||
Evidence from `scripts/hybrid/accept-integrated.sh` on one machine: Apple M4 (24 GiB), macOS 27.0 (26A428), CrossOver 26.3 (26.3.0.39832), default backend, 2026-11-25, all 21 steps passing on revision `2b3ad75`. The author of the code ran it, so none of this is independently verified.
|
||||
|
||||
One earlier attempt on the same code failed seven of those steps: free memory was under the 50 % start threshold, so the runner refused to launch them (`refused_to_start_low_memory`). The threshold was not changed. The passing run started its programs with 50 to 54 % free, so a busy 24 GiB machine can refuse again.
|
||||
Evidence from the acceptance script on one machine: Apple M4 (24 GiB), macOS 27.0 (26A428), CrossOver 26.3 (26.3.0.39832), default backend (inferred D3DMetal), 2026-11-25, revision `14a54f8`: 33 steps ok, one known failure. The author of the code ran it.
|
||||
|
||||
| Gate | Status | Evidence | Limit |
|
||||
| --- | --- | --- | --- |
|
||||
| A. Environment | Pass | `doctor`: all checks true | Checks presence, not correctness |
|
||||
| B. Executable | Pass | identified as x86-64 console PE; ARM64 build refused before launch | Delay-load imports not listed |
|
||||
| C. Runtime | Pass for the services tested | gates `runtime.threads`, `.memory`, `.exceptions`, `.time`, `.files` | No audio, sockets, controllers or stress on synchronization |
|
||||
| D. Graphics initialization | Pass | gate `graphics.init` | Feature level 11_0 only |
|
||||
| E. Shader execution | Pass | vs, ps, cs at shader model 5.0; output compared pixel by pixel; `color`, `blank`, `depth` controls fail | Trivial shaders; no console shader input |
|
||||
| F. First verified frame | Pass | back-buffer read-back at frame 0; window capture matches 1016 of 1016 samples of the final frame; wrong rendering is detected on screen | Capture is a sampled grid with a tolerance of 6 per channel |
|
||||
| G. Continuous rendering | Pass | 20,000 presented frames, 46 read back, none mismatched | Sampled verification; about three minutes |
|
||||
| H. Interactive execution | **Partial** | five posted key messages change the rendered image as expected; the `input` control fails | No key was typed on the Mac; no mouse or controller |
|
||||
| I. Extended stability | **Partial** | five repeats with identical pixel digests; 20,000-frame run working set 94.8 MB after warm-up and 66.5 MB at the end (an earlier such run: 65.8 to 69.1 MB); crash and hang stopped and followed by a passing run | Minutes, not hours; GPU memory not measured; Ctrl-C of the supervisor not tested |
|
||||
| J. Reproducibility | **Not met** | one script and documented prerequisites | No second person or machine has run it |
|
||||
| C. Runtime | Pass for the services tested | threads, memory protection, exception handling, timing, files; environment isolation | No audio, sockets or controllers |
|
||||
| D. Graphics initialization | Pass, D3D11 and D3D12 | `graphics.init` in both workloads | Feature level 11_0 |
|
||||
| E. Shader execution | Pass | vs, ps, cs at shader model 5.0; fault controls fail | Small shaders; no DXIL / shader model 6 |
|
||||
| F. First verified frame | Pass | read-back, and a window capture for D3D11 (1016 of 1016 samples) | No window capture of the D3D12 workload |
|
||||
| G. Continuous rendering | Pass | 20,000 D3D11 frames; D3D11 and D3D12 digests equal over 600 frames | Sampled verification |
|
||||
| H. Interactive | Pass with synthesized macOS events | key events posted to the process with `CGEventPostToPid` move the quad as expected; wrong or no keys fail | No person typed; no mouse or controller |
|
||||
| I. Extended stability | See [long run](#long-run) | 5 repeats; 20 back-to-back launches; crash, hang and signal recovery | GPU memory not measured |
|
||||
| J. Reproducibility | **Not met** | instructions above | No second person or machine has run it |
|
||||
| Resource release (D3D12) | **Fails on D3DMetal** | see below | |
|
||||
|
||||
## Observed backend behaviour
|
||||
|
||||
All on this one machine and CrossOver version; none confirmed with CodeWeavers or Apple.
|
||||
|
||||
- **D3DMetal keeps a reference for every destroyed D3D12 swapchain.** In a minimal program, each create and destroy cycle left `Release` of the swapchain returning 1 and one more device reference (12 after 12 cycles), also after destroying the window. The `wined3d` and `dxvk` settings returned to zero. The D3D12 workload's `shutdown` gate therefore fails on D3DMetal. D3D11 swapchains released cleanly. A program that recreates swapchains often would accumulate them.
|
||||
- **Under the `wined3d` and `dxvk` settings** D3D12 is provided by Wine's `vkd3d`. 128-frame runs passed every gate; longer runs slowed to 2.0 s per frame after about 440 frames, with vsync on or off, and timed out. Cause unknown.
|
||||
- **`dxmt`** offers no D3D12 device (classified `no_graphics_device`).
|
||||
- **Frame pacing with vsync off is bimodal.** The D3D11 workload's median interval switches between about 1 ms and 4 to 9 ms *within* runs, in no relation to run order; with vsync it is 16.7 ms. The earlier "first run is faster" reading was wrong. Vsync-off intervals from these workloads are not performance measurements. Trigger not identified.
|
||||
|
||||
## Backends
|
||||
|
||||
One run of 300 frames each, same executable. All five passed with the same pixel digest `e3ee5e2b018b4783`: default (inferred D3DMetal), `d3dmetal`, `dxmt`, `dxvk`, `wined3d`. The workload is far too small to compare performance.
|
||||
D3D11: one 300-frame run each; default, `d3dmetal`, `dxmt`, `dxvk`, `wined3d` all passed with the same pixel digest (earlier revision). D3D12: see the observations above.
|
||||
|
||||
## Memory and timing observed
|
||||
|
||||
Revision `14a54f8` unless stated.
|
||||
|
||||
| Measurement | Value |
|
||||
| --- | --- |
|
||||
| Workload resident memory, sampled by `ps` | peak 78 to 97 MB across runs |
|
||||
| Workload resident memory, sampled by `ps` | 94 to 101 MB in the D3D11 first run, D3D12 run and 20,000-frame run |
|
||||
| Persistent CrossOver processes | not part of the workload figure; reported separately as `peak_crossover_rss_kb_sampled` |
|
||||
| First verified frame, from program start | about 1.0 s on the first run of a session, about 0.25 s afterwards |
|
||||
| Frame interval, 600 frames, vsync off | p50 1.8 to 3.0 ms in the first run of a sequence and about 8.2 ms in later runs; the cause of the difference is **unknown** |
|
||||
| Soak, 20,000 frames | p50 8.5 ms, p99 35 ms, maximum 154 ms |
|
||||
| First verified frame, from program start | about 0.2 s here; about 1.0 s was seen on some earlier first runs |
|
||||
| 20,000 D3D11 frames, vsync off | p50 8.3 ms, p99 20 ms, one frame of 1,023 ms |
|
||||
| Frame pacing, vsync off | bimodal; see above |
|
||||
| GPU memory, GPU utilization | not measured |
|
||||
|
||||
These describe a tiny offscreen-sized scene with periodic read-back. They are not estimates of any application's performance.
|
||||
These describe a 256 by 256 scene with periodic read-back. They are not estimates of any application's performance.
|
||||
|
||||
## Long run
|
||||
|
||||
Pending.
|
||||
|
||||
## Security limits
|
||||
|
||||
- **A bottle is not a sandbox.** The workload appeared with a `Y:\` path into the user's home directory. A program run this way can read and write what the user can. Run only programs you trust.
|
||||
- The child inherits the supervisor's environment apart from the two backend variables, including any secrets in it.
|
||||
- Stopping a run stops every process in that bottle.
|
||||
- The supervisor does not handle its own SIGINT or SIGTERM; processes may be left running.
|
||||
- The executable is identified and then launched by path, so a file replaced in between is not detected.
|
||||
- The PE reader is bounds-checked and tested against truncated and corrupted input; it has not been fuzzed.
|
||||
A CrossOver bottle is **not** a sandbox: it maps the whole filesystem. Supervision limits runaway behaviour only. See the [security review](research/security-audit-2026-11-25.md).
|
||||
@@ -0,0 +1,692 @@
|
||||
path depth
|
||||
.editorconfig not read
|
||||
.github/CODEOWNERS not read
|
||||
.github/ISSUE_TEMPLATE/agent-task.yml not read
|
||||
.github/ISSUE_TEMPLATE/bug.yml not read
|
||||
.github/ISSUE_TEMPLATE/config.yml not read
|
||||
.github/ISSUE_TEMPLATE/documentation.yml not read
|
||||
.github/ISSUE_TEMPLATE/hybrid-task.yml not read
|
||||
.github/ISSUE_TEMPLATE/performance.yml not read
|
||||
.github/ISSUE_TEMPLATE/research.yml not read
|
||||
.github/ISSUE_TEMPLATE/validation.yml not read
|
||||
.github/agent-queue.json not read
|
||||
.github/pull_request_template.md not read
|
||||
.github/workflows/agent-claims.yml not read
|
||||
.github/workflows/ci.yml not read
|
||||
.github/workflows/hygiene.yml not read
|
||||
.gitignore not read
|
||||
AGENTS.md read in part
|
||||
CHANGELOG.md read in part
|
||||
CLAUDE.md not read
|
||||
CODE_OF_CONDUCT.md not read
|
||||
CONTRIBUTING.md not read
|
||||
Cargo.lock not read
|
||||
Cargo.toml not read
|
||||
LICENSE not read
|
||||
README.md not read
|
||||
SECURITY.md not read
|
||||
SUPPORT.md not read
|
||||
THIRD_PARTY_NOTICES.md not read
|
||||
app/Package.swift header and size only
|
||||
app/Sources/CXenora/module.modulemap not read
|
||||
app/Sources/Xenora/AudioMixFixture.swift header and size only
|
||||
app/Sources/Xenora/ControllerInput.swift header and size only
|
||||
app/Sources/Xenora/main.swift header and size only
|
||||
benchmarks/Cargo.toml not read
|
||||
benchmarks/benches/fixtures/gfx1030_mixed.s not read
|
||||
benchmarks/benches/gfx1030_identify.rs not read
|
||||
benchmarks/manifest.toml not read
|
||||
benchmarks/results/apple-m5/run-1795338391/metadata.json not read
|
||||
benchmarks/results/apple-m5/run-1795338391/report.md not read
|
||||
benchmarks/results/apple-m5/run-1795338391/results.json not read
|
||||
benchmarks/results/apple-m5/run-1795352394/metadata.json not read
|
||||
benchmarks/results/apple-m5/run-1795352394/report.md not read
|
||||
benchmarks/results/apple-m5/run-1795352394/results.json not read
|
||||
benchmarks/src/main.rs header and size only
|
||||
benchmarks/src/startup.rs header and size only
|
||||
benchmarks/src/startup_report.rs header and size only
|
||||
benchmarks/tests/gfx1030_identify.rs not read
|
||||
crates/cli/Cargo.toml not read
|
||||
crates/cli/src/demo.rs header and size only
|
||||
crates/cli/src/main.rs read in part
|
||||
crates/cli/src/runner.rs read in part
|
||||
crates/cli/src/shaders.rs header and size only
|
||||
crates/cli/src/startup_report.rs read in part
|
||||
crates/cli/tests/default_report.rs not read
|
||||
crates/cli/tests/imports_sync.rs not read
|
||||
crates/cli/tests/standard_services.rs not read
|
||||
crates/cli/tests/startup_report.rs not read
|
||||
crates/decoder/Cargo.toml not read
|
||||
crates/decoder/src/lib.rs header and size only
|
||||
crates/decoder/tests/gfx1030.rs not read
|
||||
crates/decoder/tests/graphics.rs not read
|
||||
crates/decoder/tests/semantic_forms.rs not read
|
||||
crates/ffi/Cargo.toml not read
|
||||
crates/ffi/include/xenora.h not read
|
||||
crates/ffi/src/frame_loop.rs header and size only
|
||||
crates/ffi/src/lib.rs read in part
|
||||
crates/ffi/tests/audio_vfs.rs not read
|
||||
crates/ffi/tests/frame_loop.rs not read
|
||||
crates/ffi/tests/interactive.rs not read
|
||||
crates/ffi/tests/native_frame.rs not read
|
||||
crates/ffi/tests/resources.rs not read
|
||||
crates/hybrid/Cargo.toml not read
|
||||
crates/hybrid/src/cli.rs read
|
||||
crates/hybrid/src/cmdutil.rs read
|
||||
crates/hybrid/src/crossover.rs read
|
||||
crates/hybrid/src/frames.rs not read
|
||||
crates/hybrid/src/host.rs not read
|
||||
crates/hybrid/src/json.rs read
|
||||
crates/hybrid/src/lib.rs read
|
||||
crates/hybrid/src/main.rs read
|
||||
crates/hybrid/src/memory.rs read
|
||||
crates/hybrid/src/pe.rs read
|
||||
crates/hybrid/src/preflight.rs read
|
||||
crates/hybrid/src/records.rs read
|
||||
crates/hybrid/src/run.rs read
|
||||
crates/hybrid/src/toolchain.rs not read
|
||||
crates/import-gen/Cargo.toml not read
|
||||
crates/import-gen/src/apiset.rs header and size only
|
||||
crates/import-gen/src/bin/xenora-runtime-gen.rs header and size only
|
||||
crates/import-gen/src/classify.rs header and size only
|
||||
crates/import-gen/src/codegen.rs header and size only
|
||||
crates/import-gen/src/demangle.rs header and size only
|
||||
crates/import-gen/src/ingest.rs header and size only
|
||||
crates/import-gen/src/lib.rs header and size only
|
||||
crates/import-gen/src/manifest.rs header and size only
|
||||
crates/import-gen/src/metadata.rs header and size only
|
||||
crates/import-gen/src/parse.rs header and size only
|
||||
crates/import-gen/src/typed.rs header and size only
|
||||
crates/import-gen/src/verify.rs header and size only
|
||||
crates/import-gen/tests/demangle.rs not read
|
||||
crates/import-gen/tests/pipeline.rs not read
|
||||
crates/isa/Cargo.toml not read
|
||||
crates/isa/LICENSE-AMD not read
|
||||
crates/isa/data/rdna2.jsonl not read
|
||||
crates/isa/generate_rdna2.py not read
|
||||
crates/isa/generate_rdna2_meta.py not read
|
||||
crates/isa/generate_semantics.py not read
|
||||
crates/isa/semantics/rdna2.toml not read
|
||||
crates/isa/semantics/rdna2/sop1.toml not read
|
||||
crates/isa/semantics/rdna2/sop2.toml not read
|
||||
crates/isa/semantics/rdna2/sopc.toml not read
|
||||
crates/isa/semantics/rdna2/sopk.toml not read
|
||||
crates/isa/semantics/rdna2/sopp.toml not read
|
||||
crates/isa/semantics/rdna2/vop1.toml not read
|
||||
crates/isa/semantics/rdna2/vop2.toml not read
|
||||
crates/isa/semantics/rdna2/vop3.toml not read
|
||||
crates/isa/semantics/rdna2/vopc.toml not read
|
||||
crates/isa/src/lib.rs header and size only
|
||||
crates/isa/src/meta.rs header and size only
|
||||
crates/isa/src/primitive.rs header and size only
|
||||
crates/isa/src/rdna2.rs header and size only
|
||||
crates/isa/src/rdna2_meta.rs header and size only
|
||||
crates/isa/src/semantics.rs header and size only
|
||||
crates/isa/src/semantics_gen.rs header and size only
|
||||
crates/isa/tests/extension_word_negative.rs not read
|
||||
crates/isa/tests/llvm/corpus.py not read
|
||||
crates/isa/tests/llvm/corpus.s not read
|
||||
crates/isa/tests/llvm/corpus.tsv not read
|
||||
crates/isa/tests/llvm/corpus_disagreements.txt not read
|
||||
crates/isa/tests/llvm/identify.s not read
|
||||
crates/isa/tests/meta.rs not read
|
||||
crates/isa/tests/meta_corpus.rs not read
|
||||
crates/isa/tests/meta_llvm.rs not read
|
||||
crates/isa/tests/semantics.rs not read
|
||||
crates/loader/Cargo.toml not read
|
||||
crates/loader/benches/dbt_bench.rs not read
|
||||
crates/loader/benches/service_dispatch.rs not read
|
||||
crates/loader/generate_x86.py not read
|
||||
crates/loader/runtime/services.txt not read
|
||||
crates/loader/src/arm64.rs header and size only
|
||||
crates/loader/src/cpu.rs header and size only
|
||||
crates/loader/src/dbt.rs header and size only
|
||||
crates/loader/src/graphics.rs header and size only
|
||||
crates/loader/src/import_table.rs header and size only
|
||||
crates/loader/src/imports.rs header and size only
|
||||
crates/loader/src/jit.rs header and size only
|
||||
crates/loader/src/lib.rs header and size only
|
||||
crates/loader/src/memory.rs header and size only
|
||||
crates/loader/src/pe.rs read in part
|
||||
crates/loader/src/probe.rs header and size only
|
||||
crates/loader/src/reloc.rs header and size only
|
||||
crates/loader/src/runtime.rs header and size only
|
||||
crates/loader/src/runtime_table.rs header and size only
|
||||
crates/loader/src/scheduler.rs header and size only
|
||||
crates/loader/src/services.rs header and size only
|
||||
crates/loader/src/services/crt.rs header and size only
|
||||
crates/loader/src/services/crt_arguments.rs header and size only
|
||||
crates/loader/src/services/crt_callbacks.rs header and size only
|
||||
crates/loader/src/services/crt_files.rs header and size only
|
||||
crates/loader/src/services/crt_format.rs header and size only
|
||||
crates/loader/src/services/crt_startup.rs header and size only
|
||||
crates/loader/src/services/crt_streams.rs header and size only
|
||||
crates/loader/src/services/events.rs header and size only
|
||||
crates/loader/src/services/files.rs header and size only
|
||||
crates/loader/src/services/gdk_queue.rs header and size only
|
||||
crates/loader/src/services/heap.rs header and size only
|
||||
crates/loader/src/services/modules.rs header and size only
|
||||
crates/loader/src/services/platform_fixture.rs header and size only
|
||||
crates/loader/src/services/process.rs header and size only
|
||||
crates/loader/src/services/synch.rs header and size only
|
||||
crates/loader/src/services/sysinfo.rs header and size only
|
||||
crates/loader/src/services/task_fixture.rs header and size only
|
||||
crates/loader/src/services/threads.rs header and size only
|
||||
crates/loader/src/services/winsock.rs header and size only
|
||||
crates/loader/src/softfloat.rs header and size only
|
||||
crates/loader/src/startup.rs header and size only
|
||||
crates/loader/src/tasks.rs header and size only
|
||||
crates/loader/src/tls.rs header and size only
|
||||
crates/loader/src/triage.rs header and size only
|
||||
crates/loader/src/x86_decode.rs header and size only
|
||||
crates/loader/src/x86_exec.rs header and size only
|
||||
crates/loader/src/x86_float.rs header and size only
|
||||
crates/loader/src/x86_simd.rs header and size only
|
||||
crates/loader/src/x86_table.rs header and size only
|
||||
crates/loader/tests/arm64_encodings.rs not read
|
||||
crates/loader/tests/bootstrap.rs not read
|
||||
crates/loader/tests/bswap.rs not read
|
||||
crates/loader/tests/cpu_differential.rs not read
|
||||
crates/loader/tests/cpu_features.rs not read
|
||||
crates/loader/tests/cpu_known_answers.rs not read
|
||||
crates/loader/tests/cpu_loop.rs not read
|
||||
crates/loader/tests/cpu_rep.rs not read
|
||||
crates/loader/tests/crt_exit.rs not read
|
||||
crates/loader/tests/crt_files.rs not read
|
||||
crates/loader/tests/dbt_benchmark_report.rs not read
|
||||
crates/loader/tests/dbt_render.rs not read
|
||||
crates/loader/tests/gate_a1.rs not read
|
||||
crates/loader/tests/gate_a2.rs not read
|
||||
crates/loader/tests/generated_conformance.rs not read
|
||||
crates/loader/tests/generated_runtime_integration.rs not read
|
||||
crates/loader/tests/graphics_d3d12.rs not read
|
||||
crates/loader/tests/graphics_textures.rs not read
|
||||
crates/loader/tests/imports_sync.rs not read
|
||||
crates/loader/tests/indirect_control.rs not read
|
||||
crates/loader/tests/memory_page_boundaries.rs not read
|
||||
crates/loader/tests/memory_validation.rs not read
|
||||
crates/loader/tests/movsxd.rs not read
|
||||
crates/loader/tests/pe_headers.rs not read
|
||||
crates/loader/tests/pe_mapping_limits.rs not read
|
||||
crates/loader/tests/pe_validation.rs not read
|
||||
crates/loader/tests/printf/reference.py not read
|
||||
crates/loader/tests/printf/vectors.txt not read
|
||||
crates/loader/tests/probe_cfg.rs not read
|
||||
crates/loader/tests/probe_delay_imports.rs not read
|
||||
crates/loader/tests/probe_static.rs not read
|
||||
crates/loader/tests/probe_truncation.rs not read
|
||||
crates/loader/tests/process_exit.rs not read
|
||||
crates/loader/tests/relocation_validation.rs not read
|
||||
crates/loader/tests/repeated_frames.rs not read
|
||||
crates/loader/tests/runtime_clock.rs not read
|
||||
crates/loader/tests/runtime_handle_lifetime.rs not read
|
||||
crates/loader/tests/runtime_robustness.rs not read
|
||||
crates/loader/tests/runtime_services.rs not read
|
||||
crates/loader/tests/runtime_synch.rs not read
|
||||
crates/loader/tests/runtime_sysinfo.rs not read
|
||||
crates/loader/tests/runtime_threads.rs not read
|
||||
crates/loader/tests/runtime_x15.rs not read
|
||||
crates/loader/tests/support/mod.rs not read
|
||||
crates/loader/tests/support/robustness.rs not read
|
||||
crates/loader/tests/threads/compile.py not read
|
||||
crates/loader/tests/threads/program.c not read
|
||||
crates/loader/tests/threads/program.txt not read
|
||||
crates/loader/tests/tls_layout.rs not read
|
||||
crates/loader/tests/x86/assemble.py not read
|
||||
crates/loader/tests/x86/float.txt not read
|
||||
crates/loader/tests/x86/float_reference.py not read
|
||||
crates/loader/tests/x86/float_vectors.txt not read
|
||||
crates/loader/tests/x86/integer.txt not read
|
||||
crates/loader/tests/x86/vector.txt not read
|
||||
crates/loader/tests/x86_atomic.rs not read
|
||||
crates/loader/tests/x86_carry_chain.rs not read
|
||||
crates/loader/tests/x86_float.rs not read
|
||||
crates/loader/tests/x86_integer.rs not read
|
||||
crates/loader/tests/x86_prefix_length.rs not read
|
||||
crates/loader/tests/x86_vector.rs not read
|
||||
crates/loader/x86/instructions.toml not read
|
||||
crates/metal/Cargo.toml not read
|
||||
crates/metal/src/compute.rs header and size only
|
||||
crates/metal/src/lib.rs header and size only
|
||||
crates/metal/src/render.rs header and size only
|
||||
crates/metal/src/sampler.rs header and size only
|
||||
crates/metal/src/texture_pipeline.rs header and size only
|
||||
crates/metal/tests/blend_reference.rs not read
|
||||
crates/metal/tests/depth_reference.rs not read
|
||||
crates/metal/tests/fixtures/blend_expected.txt not read
|
||||
crates/metal/tests/fixtures/depth_expected.txt not read
|
||||
crates/metal/tests/fixtures/guest-buffer-xor.bin not read
|
||||
crates/metal/tests/fixtures/guest-buffer-xor.s not read
|
||||
crates/metal/tests/fixtures/indexed_expected.txt not read
|
||||
crates/metal/tests/indexed_reference.rs not read
|
||||
crates/metal/tests/native/blend.rs not read
|
||||
crates/metal/tests/native/depth.rs not read
|
||||
crates/metal/tests/native/guest_buffer.rs not read
|
||||
crates/metal/tests/native/indexed.rs not read
|
||||
crates/metal/tests/native/offscreen.rs not read
|
||||
crates/metal/tests/native/submission.rs not read
|
||||
crates/metal/tests/native/texture.rs not read
|
||||
crates/metal/tests/native/texture_bc_alpha.rs not read
|
||||
crates/metal/tests/native/texture_bc_channel.rs not read
|
||||
crates/metal/tests/native/texture_sampling.rs not read
|
||||
crates/metal/tests/native/translated_bc1.rs not read
|
||||
crates/metal/tests/native/translated_render.rs not read
|
||||
crates/metal/tests/native_compute.rs not read
|
||||
crates/metal/tests/packed_bc_upload.rs not read
|
||||
crates/metal/tests/sampler_texture.rs not read
|
||||
crates/metal/tests/support/blend_cases.rs not read
|
||||
crates/metal/tests/support/depth_cases.rs not read
|
||||
crates/metal/tests/support/indexed_cases.rs not read
|
||||
crates/ref/Cargo.toml not read
|
||||
crates/ref/src/blend.rs header and size only
|
||||
crates/ref/src/depth.rs header and size only
|
||||
crates/ref/src/indexed.rs header and size only
|
||||
crates/ref/src/lib.rs header and size only
|
||||
crates/ref/src/texture_sampling.rs header and size only
|
||||
crates/ref/tests/gfx1030.rs not read
|
||||
crates/shader/Cargo.toml not read
|
||||
crates/shader/src/graphics.rs header and size only
|
||||
crates/shader/src/lib.rs header and size only
|
||||
crates/shader/tests/compiler.rs not read
|
||||
crates/shader/tests/graphics.rs not read
|
||||
crates/texture/Cargo.toml not read
|
||||
crates/texture/src/bc.rs header and size only
|
||||
crates/texture/src/bc6h.rs header and size only
|
||||
crates/texture/src/bc7.rs header and size only
|
||||
crates/texture/src/footprint.rs header and size only
|
||||
crates/texture/src/lib.rs header and size only
|
||||
crates/texture/src/sampler.rs header and size only
|
||||
crates/texture/src/upload.rs header and size only
|
||||
crates/texture/tests/bc6h.rs not read
|
||||
crates/texture/tests/bc7.rs not read
|
||||
crates/texture/tests/bc_footprint.rs not read
|
||||
crates/texture/tests/bc_formats.rs not read
|
||||
crates/texture/tests/fixtures/bc6h_vectors.txt not read
|
||||
crates/texture/tests/fixtures/bc7_vectors.txt not read
|
||||
docs/README.md read in part
|
||||
docs/adr/0003-demo-memory-model.md not read
|
||||
docs/adr/0004-cpu-boundary.md not read
|
||||
docs/adr/0005-crossover-hybrid-direction.md not read
|
||||
docs/archive/development-phases-native-first.md not read
|
||||
docs/archive/hybrid-phases-h0-h7.md not read
|
||||
docs/archive/native-first-milestones.json not read
|
||||
docs/archive/readme-native-milestones.md not read
|
||||
docs/assets/xenora-progress.svg not read
|
||||
docs/claims.toml not read
|
||||
docs/coordination/agent-queue-smoke.md not read
|
||||
docs/coordination/agent-tasks.md not read
|
||||
docs/coordination/cpu-campaign-ledger.md not read
|
||||
docs/coordination/infrastructure-qa-ledger.md not read
|
||||
docs/coordination/infrastructure-qa-ownership.md not read
|
||||
docs/cpu/avx-contract.md not read
|
||||
docs/cpu/instruction-registry.md not read
|
||||
docs/hybrid-execution.md not read
|
||||
docs/interfaces.md not read
|
||||
docs/legal.md not read
|
||||
docs/licenses.md not read
|
||||
docs/migration.md not read
|
||||
docs/planning/project-board.md not read
|
||||
docs/progress.md not read
|
||||
docs/research/apple-gpu.md not read
|
||||
docs/research/component-reuse-matrix.md not read
|
||||
docs/research/cpu-boundary.md not read
|
||||
docs/research/crossover-baseline-2026-11-25.md read in part
|
||||
docs/research/crossover-licensing.md read
|
||||
docs/research/d3dmetal-native-evaluation.md not read
|
||||
docs/research/directx12.md not read
|
||||
docs/research/host-lab.md not read
|
||||
docs/research/hybrid-backlog-research-2026-11-25.md not read
|
||||
docs/research/hybrid-runtime-audit-2026-11-25.md not read
|
||||
docs/research/hybrid-toolchain.md read in part
|
||||
docs/research/native-issue-archive.md not read
|
||||
docs/research/native-roadmap.md not read
|
||||
docs/research/phase02-collaboration.md not read
|
||||
docs/research/phase02-cpu-feasibility.md not read
|
||||
docs/research/phase02-ecosystem.md not read
|
||||
docs/research/portwatch-inventory-2026-11-25.json not read
|
||||
docs/research/portwatch-inventory-2026-11-25.md not read
|
||||
docs/research/portwatch-native-macos.md not read
|
||||
docs/research/primary-source-verification-2026-11-25.md not read
|
||||
docs/research/rdna2.md not read
|
||||
docs/research/shader-containers.md not read
|
||||
docs/research/sources.md not read
|
||||
docs/research/synthetic-integration.md not read
|
||||
docs/research/texture-formats.md not read
|
||||
docs/research/upstream-integration-audit.md read in part
|
||||
docs/research/upstream-registry.md not read
|
||||
docs/research/xbox-gdk.md not read
|
||||
docs/research/xbox-gpu.md not read
|
||||
docs/risk-register.md not read
|
||||
docs/roadmap.md read
|
||||
docs/runtime/registry.md not read
|
||||
docs/runtime/services.md not read
|
||||
docs/runtime/threads.md not read
|
||||
docs/shaders/instruction-coverage.md not read
|
||||
docs/shaders/msl.md not read
|
||||
docs/shaders/reference-interpreter.md not read
|
||||
docs/shaders/scalar-alu.md not read
|
||||
docs/shaders/scalar-immediate.md not read
|
||||
docs/shaders/semantic-coverage.md not read
|
||||
docs/shaders/semantic-registry.md not read
|
||||
docs/shaders/vector-compare.md not read
|
||||
docs/shaders/vector-unary.md not read
|
||||
docs/shaders/vector-vcc.md not read
|
||||
docs/status.toml not read
|
||||
docs/testing/README.md not read
|
||||
docs/testing/benchmarks.md not read
|
||||
docs/testing/cpu-coverage.md not read
|
||||
docs/testing/gate-a.md not read
|
||||
docs/testing/hybrid-workloads.md not read
|
||||
docs/testing/infrastructure/README.md not read
|
||||
docs/testing/infrastructure/phase3-compat-ledger.md not read
|
||||
docs/testing/migration-pr-review.md not read
|
||||
docs/testing/mutation.md not read
|
||||
docs/testing/phase-02-baseline.md not read
|
||||
docs/testing/phase01-assurance.md not read
|
||||
docs/testing/phase01-checkpoint.md not read
|
||||
docs/testing/review-log.md not read
|
||||
docs/testing/shader-form-acceptance.md not read
|
||||
docs/testing/test-inventory.md not read
|
||||
docs/testing/x9-acceptance.md not read
|
||||
docs/threat-model.md not read
|
||||
experiments/x1/Cargo.lock not read
|
||||
experiments/x1/Cargo.toml not read
|
||||
experiments/x1/README.md not read
|
||||
experiments/x1/fixtures/check.sh not read
|
||||
experiments/x1/fixtures/nonwrap.bin not read
|
||||
experiments/x1/fixtures/pe_fixture.py not read
|
||||
experiments/x1/fixtures/wrap.bin not read
|
||||
experiments/x1/fixtures/x1.s not read
|
||||
experiments/x1/fixtures/x2.exe not read
|
||||
experiments/x1/fixtures/x2.py not read
|
||||
experiments/x1/fixtures/x3.exe not read
|
||||
experiments/x1/fixtures/x3.py not read
|
||||
experiments/x1/fixtures/x4-17.exe not read
|
||||
experiments/x1/fixtures/x4-93.exe not read
|
||||
experiments/x1/fixtures/x4.py not read
|
||||
experiments/x1/fixtures/x5.exe not read
|
||||
experiments/x1/fixtures/x5.py not read
|
||||
experiments/x1/fixtures/x6.exe not read
|
||||
experiments/x1/fixtures/x6.py not read
|
||||
experiments/x1/src/cpu.rs header and size only
|
||||
experiments/x1/src/cpu/tests.rs header and size only
|
||||
experiments/x1/src/fixture.rs header and size only
|
||||
experiments/x1/src/graphics.rs header and size only
|
||||
experiments/x1/src/interp.rs header and size only
|
||||
experiments/x1/src/loader.rs header and size only
|
||||
experiments/x1/src/main.rs header and size only
|
||||
experiments/x1/src/mem.rs header and size only
|
||||
experiments/x1/src/pe.rs header and size only
|
||||
experiments/x1/src/pe/tests.rs header and size only
|
||||
experiments/x1/src/x3.metal not read
|
||||
experiments/x1/src/x3.rs header and size only
|
||||
experiments/x1/src/x4.rs header and size only
|
||||
experiments/x1/src/x5.rs header and size only
|
||||
experiments/x1/src/x6.rs header and size only
|
||||
experiments/x1/src/x7.rs header and size only
|
||||
experiments/x1/src/x8.rs header and size only
|
||||
experiments/x1/src/x9.rs header and size only
|
||||
experiments/x1/src/x9/draw.rs header and size only
|
||||
experiments/x1/src/x9/tests.rs header and size only
|
||||
experiments/x1/src/x9/texture.rs header and size only
|
||||
fixtures/assets/asset.bin not read
|
||||
fixtures/assets/generate.py not read
|
||||
fixtures/golden/add.ir not read
|
||||
fixtures/golden/add.metal not read
|
||||
fixtures/golden/bitwise-branch.ir not read
|
||||
fixtures/golden/bitwise-branch.metal not read
|
||||
fixtures/golden/float-exact.ir not read
|
||||
fixtures/golden/float-exact.metal not read
|
||||
fixtures/golden/scalar-alu.ir not read
|
||||
fixtures/golden/scalar-alu.metal not read
|
||||
fixtures/golden/scalar-arith.ir not read
|
||||
fixtures/golden/scalar-arith.metal not read
|
||||
fixtures/golden/scalar-compare.ir not read
|
||||
fixtures/golden/scalar-compare.metal not read
|
||||
fixtures/golden/scalar-immediate.ir not read
|
||||
fixtures/golden/scalar-immediate.metal not read
|
||||
fixtures/golden/scalar-logic.ir not read
|
||||
fixtures/golden/scalar-logic.metal not read
|
||||
fixtures/golden/scalar-unary.ir not read
|
||||
fixtures/golden/scalar-unary.metal not read
|
||||
fixtures/golden/vector-compare-ft.ir not read
|
||||
fixtures/golden/vector-compare-ft.metal not read
|
||||
fixtures/golden/vector-compare.ir not read
|
||||
fixtures/golden/vector-compare.metal not read
|
||||
fixtures/golden/vector-integer.ir not read
|
||||
fixtures/golden/vector-integer.metal not read
|
||||
fixtures/golden/vector-unary.ir not read
|
||||
fixtures/golden/vector-unary.metal not read
|
||||
fixtures/golden/vector-vcc.ir not read
|
||||
fixtures/golden/vector-vcc.metal not read
|
||||
fixtures/golden/vop3-compare.ir not read
|
||||
fixtures/golden/vop3-compare.metal not read
|
||||
fixtures/golden/vop3-integer.ir not read
|
||||
fixtures/golden/vop3-integer.metal not read
|
||||
fixtures/manifest.toml not read
|
||||
fixtures/pe/audio_vfs.exe not read
|
||||
fixtures/pe/audio_vfs.py not read
|
||||
fixtures/pe/delay-imports.exe not read
|
||||
fixtures/pe/delay-imports.py not read
|
||||
fixtures/pe/frame-loop.exe not read
|
||||
fixtures/pe/frame-loop.py not read
|
||||
fixtures/pe/interactive.exe not read
|
||||
fixtures/pe/interactive.py not read
|
||||
fixtures/pe/runtime-services.exe not read
|
||||
fixtures/pe/textured.exe not read
|
||||
fixtures/pe/textured.py not read
|
||||
fixtures/pe/trusted-runner.exe not read
|
||||
fixtures/pe/trusted-runner.py not read
|
||||
fixtures/rdna2/add.bin not read
|
||||
fixtures/rdna2/add.s not read
|
||||
fixtures/rdna2/ashr.bin not read
|
||||
fixtures/rdna2/ashr.md not read
|
||||
fixtures/rdna2/ashr.s not read
|
||||
fixtures/rdna2/bitwise-branch.bin not read
|
||||
fixtures/rdna2/bitwise-branch.s not read
|
||||
fixtures/rdna2/float-exact.bin not read
|
||||
fixtures/rdna2/float-exact.s not read
|
||||
fixtures/rdna2/or.bin not read
|
||||
fixtures/rdna2/or.s not read
|
||||
fixtures/rdna2/scalar-alu.bin not read
|
||||
fixtures/rdna2/scalar-alu.s not read
|
||||
fixtures/rdna2/scalar-arith.bin not read
|
||||
fixtures/rdna2/scalar-arith.s not read
|
||||
fixtures/rdna2/scalar-compare.bin not read
|
||||
fixtures/rdna2/scalar-compare.s not read
|
||||
fixtures/rdna2/scalar-immediate.bin not read
|
||||
fixtures/rdna2/scalar-immediate.s not read
|
||||
fixtures/rdna2/scalar-logic.bin not read
|
||||
fixtures/rdna2/scalar-logic.s not read
|
||||
fixtures/rdna2/scalar-unary.bin not read
|
||||
fixtures/rdna2/scalar-unary.s not read
|
||||
fixtures/rdna2/shifts.bin not read
|
||||
fixtures/rdna2/shifts.s not read
|
||||
fixtures/rdna2/vector-compare-16.bin not read
|
||||
fixtures/rdna2/vector-compare-16.s not read
|
||||
fixtures/rdna2/vector-compare-64.bin not read
|
||||
fixtures/rdna2/vector-compare-64.s not read
|
||||
fixtures/rdna2/vector-compare-ft.bin not read
|
||||
fixtures/rdna2/vector-compare-ft.s not read
|
||||
fixtures/rdna2/vector-compare.bin not read
|
||||
fixtures/rdna2/vector-compare.s not read
|
||||
fixtures/rdna2/vector-integer.bin not read
|
||||
fixtures/rdna2/vector-integer.s not read
|
||||
fixtures/rdna2/vector-unary.bin not read
|
||||
fixtures/rdna2/vector-unary.s not read
|
||||
fixtures/rdna2/vector-vcc.bin not read
|
||||
fixtures/rdna2/vector-vcc.s not read
|
||||
fixtures/rdna2/vop3-compare.bin not read
|
||||
fixtures/rdna2/vop3-compare.s not read
|
||||
fixtures/rdna2/vop3-integer.bin not read
|
||||
fixtures/rdna2/vop3-integer.s not read
|
||||
fixtures/rdna2/x9-constant-ps.bin not read
|
||||
fixtures/rdna2/x9-constant-ps.s not read
|
||||
fixtures/rdna2/x9-constant-vs.bin not read
|
||||
fixtures/rdna2/x9-constant-vs.s not read
|
||||
fixtures/rdna2/x9-transform-vs.bin not read
|
||||
fixtures/rdna2/x9-transform-vs.s not read
|
||||
fixtures/rdna2/x9-varying-ps.bin not read
|
||||
fixtures/rdna2/x9-varying-ps.s not read
|
||||
fixtures/rdna2/x9-varying-vs.bin not read
|
||||
fixtures/rdna2/x9-varying-vs.s not read
|
||||
fuzz/Cargo.lock not read
|
||||
fuzz/Cargo.toml not read
|
||||
fuzz/fuzz_targets/cpu_decode.rs header and size only
|
||||
fuzz/fuzz_targets/fixture.rs header and size only
|
||||
fuzz/fuzz_targets/instruction_stream.rs header and size only
|
||||
fuzz/fuzz_targets/pe_parse.rs header and size only
|
||||
fuzz/fuzz_targets/reference.rs header and size only
|
||||
fuzz/fuzz_targets/runtime_services.rs header and size only
|
||||
licenses/bitflags-LICENSE-MIT not read
|
||||
licenses/objc2-LICENSE-MIT.txt not read
|
||||
licenses/objc2-LICENSE.md not read
|
||||
scripts/agent-queue.sh not read
|
||||
scripts/agent-sync.sh not read
|
||||
scripts/agent_queue/__init__.py not read
|
||||
scripts/agent_queue/__main__.py not read
|
||||
scripts/agent_queue/cli.py not read
|
||||
scripts/agent_queue/config.py not read
|
||||
scripts/agent_queue/decide.py not read
|
||||
scripts/agent_queue/ghio.py not read
|
||||
scripts/agent_queue/lease.py not read
|
||||
scripts/agent_queue/patterns.py not read
|
||||
scripts/agent_queue/prcheck.py not read
|
||||
scripts/agent_queue/queue.py not read
|
||||
scripts/agent_queue/replay.py not read
|
||||
scripts/agent_queue/tasks.py not read
|
||||
scripts/assemble-fixture.sh read
|
||||
scripts/audit/claims.sh not read
|
||||
scripts/audit/dependencies.sh read
|
||||
scripts/audit/docs_hygiene.py not read
|
||||
scripts/audit/native.sh not read
|
||||
scripts/audit/semantic_coverage.py not read
|
||||
scripts/audit/status.py not read
|
||||
scripts/audit/test_inventory.py not read
|
||||
scripts/benchmark.sh not read
|
||||
scripts/bootstrap.sh not read
|
||||
scripts/build-app.sh not read
|
||||
scripts/cpu-tests.sh not read
|
||||
scripts/demo.sh not read
|
||||
scripts/fuzz.sh not read
|
||||
scripts/hybrid/accept-integrated.sh read
|
||||
scripts/hybrid/accept-lifecycle.py read
|
||||
scripts/hybrid/build-windows-workloads.sh read
|
||||
scripts/mutation.sh not read
|
||||
scripts/qa/__init__.py not read
|
||||
scripts/qa/__main__.py not read
|
||||
scripts/qa/bench_regress.py not read
|
||||
scripts/qa/bench_stats.py not read
|
||||
scripts/qa/claim_conflict.py not read
|
||||
scripts/qa/compat_gaps.py not read
|
||||
scripts/qa/coverage_history.py not read
|
||||
scripts/qa/cpu_coverage.py not read
|
||||
scripts/qa/cpu_inventory.py not read
|
||||
scripts/qa/env_check.py not read
|
||||
scripts/qa/exit_pipe.py not read
|
||||
scripts/qa/git_scope.py not read
|
||||
scripts/qa/handoff.py not read
|
||||
scripts/qa/orchestrate.py not read
|
||||
scripts/qa/pr_validate.py not read
|
||||
scripts/qa/rdna2_plan.py not read
|
||||
scripts/qa/rdna2_rank.py not read
|
||||
scripts/qa/regression.py not read
|
||||
scripts/qa/repo_health.py not read
|
||||
scripts/qa/runtime_inventory.py not read
|
||||
scripts/qa/stale_branch.py not read
|
||||
scripts/qa/verify.py not read
|
||||
scripts/release/__init__.py not read
|
||||
scripts/release/__main__.py not read
|
||||
scripts/release/bundle.py not read
|
||||
scripts/release/macho.py not read
|
||||
scripts/release/manifest.py not read
|
||||
scripts/release/readiness.py not read
|
||||
scripts/test-gpu.sh not read
|
||||
tests/agent_queue/helpers.py not read
|
||||
tests/agent_queue/test_apply_actions.py not read
|
||||
tests/agent_queue/test_conflict_predict.py not read
|
||||
tests/agent_queue/test_decide.py not read
|
||||
tests/agent_queue/test_lease_accept.py not read
|
||||
tests/agent_queue/test_patterns.py not read
|
||||
tests/agent_queue/test_prcheck_summary.py not read
|
||||
tests/agent_queue/test_replay.py not read
|
||||
tests/agent_queue/test_workflows_cli.py not read
|
||||
tests/audit/test_native_json.py not read
|
||||
tests/compat_fixtures/README.md not read
|
||||
tests/compat_fixtures/avx/README.md not read
|
||||
tests/compat_fixtures/build-gate-a1.sh not read
|
||||
tests/compat_fixtures/build-gate-a2.sh not read
|
||||
tests/compat_fixtures/build.sh not read
|
||||
tests/compat_fixtures/compute_guest.c not read
|
||||
tests/compat_fixtures/gate_a1.c not read
|
||||
tests/compat_fixtures/gate_a2.c not read
|
||||
tests/compat_fixtures/import_guest.c not read
|
||||
tests/compat_fixtures/resource_guest.c not read
|
||||
tests/compat_fixtures/verify-compute.sh not read
|
||||
tests/compat_fixtures/verify-resources.sh not read
|
||||
tests/compat_fixtures/verify.sh not read
|
||||
tests/mutation/README.md not read
|
||||
tests/mutation/semantic.rs not read
|
||||
tests/qa/test_bench_regress.py not read
|
||||
tests/qa/test_bench_stats.py not read
|
||||
tests/qa/test_claim_conflict.py not read
|
||||
tests/qa/test_cli_smoke.py not read
|
||||
tests/qa/test_compat_gaps.py not read
|
||||
tests/qa/test_coverage_history_stale_branch.py not read
|
||||
tests/qa/test_cpu_coverage.py not read
|
||||
tests/qa/test_cpu_inventory.py not read
|
||||
tests/qa/test_env_check.py not read
|
||||
tests/qa/test_exit_pipe.py not read
|
||||
tests/qa/test_git_scope.py not read
|
||||
tests/qa/test_orchestrate.py not read
|
||||
tests/qa/test_pr_validate.py not read
|
||||
tests/qa/test_rdna2_malformed_registry.py not read
|
||||
tests/qa/test_rdna2_plan.py not read
|
||||
tests/qa/test_rdna2_rank.py not read
|
||||
tests/qa/test_regression_handoff_health.py not read
|
||||
tests/qa/test_runtime_inventory.py not read
|
||||
tests/qa/test_verify.py not read
|
||||
tests/release/test_macho_bundle.py not read
|
||||
tests/release/test_manifest.py not read
|
||||
tests/release/test_readiness.py not read
|
||||
tests/semantic_coverage/test_semantic_coverage.py not read
|
||||
tests/semantics_generator/test_generate_semantics.py not read
|
||||
tests/validation/Cargo.toml not read
|
||||
tests/validation/README.md not read
|
||||
tests/validation/independent_ref.rs not read
|
||||
tests/validation/known_answers.rs not read
|
||||
tests/validation/tests/operand_domains.rs not read
|
||||
tests/validation/tests/operand_domains/harness.rs not read
|
||||
tests/validation/tests/operand_domains/oracle.rs not read
|
||||
tests/validation/tests/operand_domains/sop2.rs not read
|
||||
tests/validation/tests/operand_domains/vopc.rs not read
|
||||
tests/validation/tests/sop1_unary.rs not read
|
||||
tests/validation/tests/sop2_arith.rs not read
|
||||
tests/validation/tests/sop2_stage_c.rs not read
|
||||
tests/validation/tests/sopc_stage_d.rs not read
|
||||
tests/validation/tests/sopk.rs not read
|
||||
tests/validation/tests/vop1_integer.rs not read
|
||||
tests/validation/tests/vop2_integer.rs not read
|
||||
tests/validation/tests/vop2_vcc.rs not read
|
||||
tests/validation/tests/vop3_compare.rs not read
|
||||
tests/validation/tests/vop3_integer.rs not read
|
||||
tests/validation/tests/vopc_f_t.rs not read
|
||||
tests/validation/tests/vopc_wide.rs not read
|
||||
tests/validation/tests/wave64_limits.rs not read
|
||||
tests/x86_generator/test_generate_x86.py not read
|
||||
workloads/d3d11-clear/d3d11_clear.c not read
|
||||
workloads/d3d11-compute/README.md not read
|
||||
workloads/d3d11-compute/build.sh not read
|
||||
workloads/d3d11-compute/compute.c not read
|
||||
workloads/d3d11-compute/compute.hlsl not read
|
||||
workloads/d3d11-frameloop/frameloop.c read
|
||||
workloads/d3d11-integrated/build.sh not read
|
||||
workloads/d3d11-integrated/check_window.py read
|
||||
workloads/d3d11-integrated/integrated.c read
|
||||
workloads/d3d12-integrated/build.sh not read
|
||||
workloads/d3d12-integrated/integrated12.c read
|
||||
workloads/d3d12-integrated/send_keys.py read
|
||||
workloads/win-selfcheck-c/selfcheck.c not read
|
||||
workloads/win-selfcheck-rust/Cargo.lock not read
|
||||
workloads/win-selfcheck-rust/Cargo.toml not read
|
||||
workloads/win-selfcheck-rust/src/main.rs not read
|
||||
|
@@ -61,6 +61,19 @@ All statements in this table come from the source and its comments. None is meas
|
||||
|
||||
When it can be run, an equal comparison needs the same HLSL, resources and expected pixels as `workloads/d3d11-integrated`, with the window, thread and input code replaced by native macOS equivalents. That is a different binary under a different runtime, so only the graphics results (pixel digest, frame intervals, graphics memory) would be comparable; the runtime-service gates would not apply.
|
||||
|
||||
## Is there a supported way to host D3DMetal outside Wine?
|
||||
|
||||
None was found. A web search on 2026-11-25 did not surface Apple's licence text or any Apple documentation of a native-process host interface; the supported route described is Apple's Wine-based evaluation environment. Secondary sources (for example the [holt-d3dmetal release notes](https://github.com/al0x99/holt-d3dmetal/releases/tag/4.0b3), [MaPC](https://mapc.games/opensource.html) and [D4Mac's notices](https://github.com/MichaelLod/D4Mac/blob/main/THIRD_PARTY_LICENSES.md)) report that use is granted for developing, testing or evaluating video games on Apple hardware and that redistribution is non-commercial and whole-framework only. These are not Apple's words and stay unconfirmed. The document that would settle it is the licence inside a Game Porting Toolkit download from Apple.
|
||||
|
||||
Requirements before any proposal to adopt:
|
||||
|
||||
| Area | Requirement |
|
||||
| --- | --- |
|
||||
| Licence | Apple's own licence text read; maintainer (and ideally legal) view that this use, in-process flag writes and a derived interface header are permitted |
|
||||
| Binary | Downloaded from Apple by the user; never copied from CrossOver, bundled or patched |
|
||||
| Architecture | Either an approved exception to the ARM64 host rule, or an arm64 host that talks to a separately licensed x86-64 helper |
|
||||
| Evidence | A demonstrated CrossOver limitation it removes, then the same scenes and expected pixels as the existing workloads |
|
||||
|
||||
## What would reopen this
|
||||
|
||||
All of:
|
||||
|
||||
@@ -20,6 +20,8 @@ What was inspected, what the integration branch contains, what to do with the op
|
||||
|
||||
`engineering/unified-hybrid-runtime` = `main` + merges of #384, #388, #390 and #402, then the changes described here. Conflicts were in `CHANGELOG.md` only; both sides were kept. It cannot be merged to `main` as an independent change: it contains other contributors' unmerged commits. It becomes a small diff once #384, #388, #390 and #402 land.
|
||||
|
||||
Mergeability checked with `git merge-tree` on 2026-11-25: #384 against `main` conflicts in `CHANGELOG.md` only; #388, #390 and #402 merge cleanly onto #384; this branch, #403 and #404 merge cleanly with `main`; #397 conflicts with its base in `component-reuse-matrix.md` and `victory-shader-integration.md`.
|
||||
|
||||
Baseline before changes (merged base): format, Clippy, workspace tests (1059 passed, 0 failed, 35 ignored), release build, status, claims, dependency-direction and documentation checks passed. `scripts/assemble-fixture.sh --check` failed because Homebrew `llvm` is not installed; with `llvm@17` one assembled fixture differs. This is a toolchain mismatch present before any change.
|
||||
|
||||
Final code: format, Clippy, 1073 tests passed (0 failed, 35 ignored), release build and the same audits passed, with the same fixture failure. `scripts/test-gpu.sh` (native research GPU suite, on revision `e6d614b`; later commits touch no native code) reported 124 passed, 0 failed, 2 ignored.
|
||||
@@ -47,22 +49,21 @@ Its own provenance record and the independent review on [#399](https://github.co
|
||||
|
||||
## Repository inventory and audit coverage
|
||||
|
||||
649 tracked files on `main`. Depth of inspection in this audit:
|
||||
**The audit is not complete.** [audit-ledger.tsv](audit-ledger.tsv) lists every tracked file with the depth it received: of 691 files, 23 were read, 11 read in part, 119 summarised from their header comment, size and public item count only, and 538 not read (including tests, fixtures, most documentation and scripts).
|
||||
|
||||
| Area | Depth | Classification |
|
||||
Reuse in the hybrid path, judged from headers and interfaces, so provisional:
|
||||
|
||||
| Existing component | Possible hybrid use | Judgement |
|
||||
| --- | --- | --- |
|
||||
| `crates/hybrid` | read in full | Implemented; locally validated, not independently |
|
||||
| `workloads/` | read: frame loop, build scripts, new workload; others by listing | Original fixtures |
|
||||
| `scripts/hybrid`, CI workflows | scripts read or run; workflows read in part | the `native-rust` job runs on a hosted macOS runner; nothing seen there runs CrossOver |
|
||||
| `docs/roadmap.md`, hybrid research records | read in part | Current |
|
||||
| `crates/loader` (about 62,000 lines), `ffi`, `metal`, `shader`, `decoder`, `isa`, `ref`, `texture`, `import-gen`, `cli` | **not read line by line**: module headers, dependency graph, marker search, test run | Paused research; unit-tested; not on the hybrid path |
|
||||
| `app/`, `experiments/x1`, `benchmarks`, `fuzz`, `tests/`, other `scripts/` | **listing only** | Not assessed |
|
||||
| Remaining documentation | **not read** | Not assessed |
|
||||
| `crates/victory-shader` | not on `main`; provenance records read, code not re-reviewed | Unmerged, not approved |
|
||||
| `loader` PE parser and import parser | Executable identification | `crates/hybrid/src/pe.rs` **duplicates** part of it. The loader's parser accepts AMD64 only and its crate depends on the Metal and shader crates. Extracting a shared dependency-free parser would remove the duplication |
|
||||
| `loader` static probe, `import-gen` classification and demangling | "What does this program need" diagnostics | Candidate; not wired up |
|
||||
| `ref` (CPU depth, blend, indexed, sampling references) | Expected images computed independently of the workload author | Best candidate: would reduce self-verification in graphics workloads |
|
||||
| `texture` (BC2 to BC7 decoders, footprints) | Expected values for compressed-texture workloads | Candidate; compressed formats are untested on the hybrid path |
|
||||
| `loader` translator, services, scheduler, `shader`, `decoder`, `isa`, `metal` | None: Wine, Rosetta and CrossOver backends fill these roles | Keep as paused research |
|
||||
| `ffi` and `app/` | A graphical front end for `betterxen hybrid` | Possible later; no need shown |
|
||||
| `experiments/x1`, `fuzz`, `benchmarks` | The PE fuzz target could also cover the new parser | Not done |
|
||||
|
||||
Dependency graph: `betterxen-hybrid` has no dependencies. The native crates depend only on each other plus `libc`, `sha2` and the `objc2` Metal bindings. `cargo audit` and `cargo deny` are not installed, so no advisory check was run.
|
||||
|
||||
Marker search over all Rust files: no `todo!` or `unimplemented!`, and no TODO, FIXME, XXX or HACK comments outside documentation. That does not show the code is complete. Ignored tests (35) state their reasons: 27 need a Metal device, 5 need an LLVM AMDGPU target and 3 are manual timing runs. A static count of `unsafe` sites (`ffi` 152, `metal` 33, `loader` 28) was taken; they were **not reviewed**.
|
||||
Dependency graph: `betterxen-hybrid` depends on `libc`; `betterxen` depends on it and on the native crates. Marker search over Rust files found no `todo!`, `unimplemented!`, TODO or FIXME. Ignored tests (35): 27 need a Metal device, 5 an LLVM AMDGPU target, 3 are manual timing runs.
|
||||
|
||||
## Reference repositories
|
||||
|
||||
@@ -98,33 +99,38 @@ Upstream infrastructure (Wine, DXVK, DXMT, VKD3D-Proton, MoltenVK) stays an exte
|
||||
| `cannot execute` matched on success | Misclassification | Only on non-zero exit |
|
||||
| No program presented a frame | Gates F to I had no evidence | `workloads/d3d11-integrated` |
|
||||
|
||||
## Later work in this branch
|
||||
|
||||
`betterxen hybrid` with environment isolation, signal cleanup and `stop`; a Direct3D 12 workload; keyboard and lifecycle checks; [security review](security-audit-2026-11-25.md); [shader import decision proposal](shader-import-decision.md); [reference projects](reference-projects-2026-11-25.md) and [PortWatch inventory](portwatch-inventory-2026-11-25.md); [d3dmetal-native evaluation](d3dmetal-native-evaluation.md).
|
||||
|
||||
## Not done
|
||||
|
||||
- No Direct3D 12 workload, no compiled-from-console shader path, no audio, networking, controller or typed-keyboard test.
|
||||
- Texture formats beyond RGBA8 and D32, mip mapping, blending, MSAA, resize, full screen and device loss are untested.
|
||||
- The launcher is a separate binary (`betterxen-hybrid`); it was not folded into the `betterxen` native-research CLI.
|
||||
- No second-person or second-machine reproduction.
|
||||
- No DXIL or shader model 6, audio, networking, controller, mouse, resize, full screen, device loss, MSAA, mip, blending or compressed-texture test on the hybrid path.
|
||||
- Shader and pipeline caches are CrossOver's; BetterXen manages none.
|
||||
- No thermal, GPU-memory, CPU-utilization attribution or multi-hour stability data.
|
||||
- `README.md` and architecture documents were left to #397 to avoid overlapping edits.
|
||||
- No GPU-memory or thermal data.
|
||||
- `README.md` and architecture documents were left to #397.
|
||||
|
||||
## Blockers
|
||||
|
||||
| Kind | Blocker |
|
||||
| --- | --- |
|
||||
| Decision | Maintainer ruling on #394 / #399 |
|
||||
| Decision | #394 / #399 ([proposal](shader-import-decision.md)) |
|
||||
| Review | No independent reproduction of #384, #388, #402 or this branch |
|
||||
| Coordination | The local worktree on #384's branch holds uncommitted edits and an unpushed merge of `main`, so its conflict was not resolved from here |
|
||||
| Upstream behaviour | D3DMetal D3D12 swapchain references; `vkd3d` stall under the `wined3d` and `dxvk` settings |
|
||||
| Documentation of interfaces | CrossOver launch and backend interfaces are undocumented (#350) |
|
||||
| Scope | Nothing in the repository runs console software under CrossOver; Wine provides Windows interfaces, not Xbox ones. No evidence suggests the current path would run it |
|
||||
| Scope | Nothing here runs console software; Wine provides Windows interfaces, not Xbox ones |
|
||||
|
||||
## Next steps
|
||||
|
||||
1. Decide #394 as #399 recommends, or record a policy change.
|
||||
2. Land #384, #388, #390, #402; rebase this branch.
|
||||
3. A second contributor runs `scripts/hybrid/accept-integrated.sh` (gate J).
|
||||
4. Type keys on the Mac in `--interactive` mode and record the result (gate H).
|
||||
5. Multi-hour run with GPU-memory observation (gate I).
|
||||
6. Handle supervisor signals so Ctrl-C stops the bottle.
|
||||
1. Decide #394.
|
||||
2. Whoever owns the uncommitted #384 work finishes or discards it; then land #384, #388, #390, #402 and rebase this branch.
|
||||
3. A second contributor runs the acceptance script (gate J).
|
||||
4. Use `crates/ref` for expected images; add compressed-texture and shader model 6 coverage.
|
||||
5. Report the D3DMetal swapchain behaviour to CodeWeavers with the minimal program (needs a maintainer to send it).
|
||||
6. Finish the unread parts of the audit ledger.
|
||||
|
||||
## Continuation checkpoint
|
||||
|
||||
Branch `engineering/unified-hybrid-runtime`; local worktree `artifacts/unified-hybrid-runtime/worktree`; acceptance records under `artifacts/acceptance/` (ignored by Git). Claims posted on #355 and #365. Resume from "Next steps"; the inventory rows marked listing only or not read are the unfinished audit.
|
||||
Branch `engineering/unified-hybrid-runtime`; local worktree `artifacts/unified-hybrid-runtime/worktree`; acceptance records under `artifacts/acceptance/` (ignored by Git). Claims posted on #355 and #365; notes on #390 (co-author trailer) and #397 (alignment). Resume from "Next steps"; the inventory rows marked listing only or not read are the unfinished audit.
|
||||
@@ -0,0 +1,82 @@
|
||||
# Reference projects: what may be used, and what would have to change (2026-11-25)
|
||||
|
||||
Covers the named reference repositories and the [PortWatch VI tracker inventory](portwatch-inventory-2026-11-25.md). Evidence is repository metadata, licences, READMEs and file trees. **No reference repository's implementation source was read for this record, nothing was cloned for it except `d3dmetal-native`, and nothing was compiled or run from any project but that one.** Portability statements are therefore inferences from what the projects say about themselves. Not legal advice.
|
||||
|
||||
## The restrictions that apply
|
||||
|
||||
All from the engineering rules ([AGENTS.md](../../AGENTS.md)):
|
||||
|
||||
| Rule | Why it exists | Effect here |
|
||||
| --- | --- | --- |
|
||||
| "Provenance first: exclude anything derived from leaked proprietary material or unauthorized software. A project's license being GPL does not clear material it was built from or for." | A licence cannot grant rights its author never had | Covers every project developed against the leaked build |
|
||||
| "Projects whose stated purpose depends on leaked or unauthorized builds ... are discovery references at documentation level; adopt nothing from them without a per-file provenance and license review recorded in the registry." | Contamination risk | Documentation-level reading only |
|
||||
| "Never copy, port, translate or adapt source from emulator projects built for leaked or unauthorized material." | Same, for ideas carried as code | No porting, even of generic-looking parts |
|
||||
| "Game-specific, asset-specific and decryption-related code is never adopted." | Third-party rights, anti-circumvention law | Excludes archive, texture-codec and key tooling |
|
||||
| "Before integrating or copying anything: verify the exact license ... If licensing is uncertain, do not use it." | Licence compliance | No licence file means no reuse; GPL-2.0-only cannot be combined |
|
||||
| BetterXen host binaries are ARM64; no x86-64 host executables | Native Apple Silicon host | Rules out linking x86-64-only libraries |
|
||||
|
||||
The first four are provenance and clean-room rules; the last two are ordinary dependency rules. Access granted by a maintainer to a private repository changes none of them: access is not a right to redistribute material that belongs to someone else.
|
||||
|
||||
## Named repositories
|
||||
|
||||
| Repository (head) | Licence | What it is | Disposition |
|
||||
| --- | --- | --- | --- |
|
||||
| MacosPorters/victory-mac-new and skakwy/victory-mac (`3ecbb8f96956`, identical) | GPL-3.0 | VIctory fork with a Mac build | Discovery only |
|
||||
| MacosPorters/VIctory-macOS (`d6fc0620f53a`) | GPL-3.0 | VIctory fork for macOS | Discovery only |
|
||||
| prex-xo/VIctory-7900XTX (`e2a28ec70632`) | GPL-3.0 | Fork of avatarmanz/VIctory-7900XTX with no commits of its own when compared | Discovery only; Windows and AMD RDNA 3 specific by its README (mesh shaders, shader model 6.6, 40 to 46 GB of memory) |
|
||||
| meetox80/6stars (`480d9a4d00ed`) | **none** | Swift and Metal engine that reads the game's archives | Excluded: no licence, asset-specific |
|
||||
| utmapp/d3dmetal-native (`af1ee17`) | MIT | Wine-free D3DMetal host | Reference only; see [evaluation](d3dmetal-native-evaluation.md) |
|
||||
|
||||
### Independently developed parts a different policy could evaluate
|
||||
|
||||
Listed so a maintainer can decide with specifics. None is approved.
|
||||
|
||||
| Part | Author as recorded | Would address | Prerequisite |
|
||||
| --- | --- | --- | --- |
|
||||
| `tools/macos/build-crossover-wine.sh`, `build-deps.sh` (VIctory-macOS) | mostly Pragyaan Gaur | A Wine built from CodeWeavers' published source, for comparison ([#389](https://github.com/MacosPorters/betterxen/issues/389)) | Per-file review; these build upstream Wine and do not touch title code |
|
||||
| `mac/run-victory.sh` supervision ideas (victory-mac) | skakwy | Memory guard and stall handling | Already reimplemented in #384 and #388 |
|
||||
| fp64 integer emulation (`emit/f64.rs`) | skakwy | Native shader compiler fp64 ([#387](https://github.com/MacosPorters/betterxen/issues/387)) | The #399 review says exclude the imported file; rewrite from IEEE 754 instead |
|
||||
|
||||
## Architecture: these projects and BetterXen
|
||||
|
||||
| Subject | Console-title layers (by their READMEs) | BetterXen hybrid | Portable to Apple Silicon? |
|
||||
| --- | --- | --- | --- |
|
||||
| CPU | Console x86-64 run natively in a Windows process | Windows x86-64 under CrossOver and Rosetta 2 | Only through Rosetta; AVX2 behaviour must be checked |
|
||||
| Executable loading | Own PE loader and relinking | Wine's loader; BetterXen only identifies the file | Their loaders assume Windows or Wine |
|
||||
| Runtime services | Reimplemented console and GDK libraries | Wine's Windows API | Console APIs have no counterpart here |
|
||||
| Graphics | Direct3D 12 or Vulkan, often with NVIDIA or AMD requirements | D3D11 and D3D12 through CrossOver backends | Vendor-specific paths are not; plain D3D12 is, as far as the backend supports it |
|
||||
| Shaders | RDNA 2 recompiled to DXIL, HLSL or SPIR-V | Ordinary DXBC from the program | A recompiler's output still needs a backend that accepts it; D3DMetal reports no double support |
|
||||
| Resource and memory model | Windows virtual memory and placeholders; large discrete VRAM | Unified memory, 24 GB on the test machine | Reported needs of 22 to 46 GB do not fit it |
|
||||
| Synchronization, threading | Win32 and D3D12 primitives | Same, provided by Wine and the backend | Yes at the API level |
|
||||
| Testing | Mostly the target title | Original workloads with CPU-computed expectations | n/a |
|
||||
|
||||
## PortWatch candidates
|
||||
|
||||
From 84 distinct entries. Most target the console title, are unlicensed, GPL-2.0-only, AGPL-3.0 or removed.
|
||||
|
||||
| Candidate | Licence | Why it might be eligible | What it could add | Status |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| ProhorovIlja/NativeX-Runtime | MIT | README describes original test programs, a source and licence review, and no proprietary material; Windows and Linux | Original D3D12 compute, raster and tiled-resource tests; BetterXen has no tiled-resource coverage | Candidate for a per-file review; not read |
|
||||
| anrq0/SeriesX-Emulator | MIT | README says it never decrypts or unpacks and tests with its own guest programs | Little: BetterXen already identifies executables | Not pursued |
|
||||
|
||||
Other entries describing themselves as clean-room or "any title" layers target running dumped console games. Whether that purpose is admissible is a policy question this record does not settle.
|
||||
|
||||
**No component from any tracked project addresses a deficiency BetterXen has demonstrated**, so none was integrated. The deficiencies found so far (see [hybrid execution](../hybrid-execution.md)) are in CrossOver backends, in verification coverage and in missing independent reproduction.
|
||||
|
||||
## Relationships
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
V["Marvisak/VIctory"] --> VF["fxceless/victory-fork"]
|
||||
V --> VM["skakwy/victory-mac = MacosPorters/victory-mac-new"]
|
||||
V --> VMO["pragyaangaur/VIctory-macOS → MacosPorters/VIctory-macOS"]
|
||||
V --> A["avatarmanz/VIctory-7900XTX"] --> P["prex-xo fork"]
|
||||
X["xcl-dev/xcl (GPL-2.0)"] -.basedOn, per tracker.-> D["dependent forks"]
|
||||
AP["boykopovar/AnyPS5"] -.related.-> AR["realdody/americas-recomp (removed)"]
|
||||
```
|
||||
|
||||
Solid arrows from VIctory come from READMEs and the earlier audits; dotted ones from the tracker's `basedOn` and `related` fields. GitHub's own fork data links few of them.
|
||||
|
||||
## Maintainer decision
|
||||
|
||||
Keep the rules as they are and treat all of the above as documentation (recommended), or commission a per-file review of NativeX-Runtime if tiled-resource validation becomes a goal. Relaxing the provenance rules for the title-derived projects is not recommended.
|
||||
@@ -0,0 +1,29 @@
|
||||
# Security review of the hybrid path and native boundaries (2026-11-25)
|
||||
|
||||
Written by the author of the hybrid changes; not an independent review, and not a penetration test.
|
||||
|
||||
## A CrossOver bottle is not a security boundary
|
||||
|
||||
In the `betterxen-test` bottle, `Z:` maps to `/`, `Y:` to the user's home directory, and `D:` and `E:` to other mounted volumes, including raw device nodes in `dosdevices`. A Windows program run this way executes as the user, with the user's files and network. Removing drive letters would not make it a sandbox, because Wine is not designed to confine hostile code. **Process supervision (memory, time, output, signals) limits runaway behaviour only.** Run only programs you trust. Untrusted programs need a separate user account or a virtual machine, neither of which BetterXen provides.
|
||||
|
||||
## Findings
|
||||
|
||||
| Area | Finding | State |
|
||||
| --- | --- | --- |
|
||||
| Environment | The child inherited every host variable; a probe saw an arbitrary secret and `SSH_AUTH_SOCK` | **Fixed**: allowlist plus explicit `--env`; `DYLD_*` and backend variables refused; `--inherit-env` restores the old behaviour deliberately. Verified with a gate that fails when the variable is visible |
|
||||
| Filesystem | See above | Open by nature |
|
||||
| Command injection | The runner starts processes with argument vectors, no shell. Bottle names that are paths or options are refused; program paths starting with `-` are refused; arguments after `--` are passed through to the program | No injection found. CrossOver's `wine` launcher is a Perl script that was not reviewed |
|
||||
| Executable input | PE headers are parsed with bounds checks and tested with truncated and corrupted input. Not fuzzed. The file is launched by path after identification, so it can be swapped in between | Open |
|
||||
| Resource exhaustion | Free-memory floor, wall-clock and stall limits, 64 MiB output limit. No limit on CPU, GPU memory, disk writes by the guest or process count | Open |
|
||||
| Cleanup | SIGINT, SIGTERM, SIGHUP stop the process group and bottle; leftovers are recorded and killed | Verified on CrossOver. SIGKILL of the supervisor leaves the program running until `betterxen hybrid stop` |
|
||||
| Concurrency | Stopping a run stops every process in its bottle, including another run's. Memory sampling and leftover detection match by executable name | Open: one run per bottle |
|
||||
| Evidence files | Reports are created exclusively and never overwrite; records contain program paths, `--env` names (not values) and output tails, which may include whatever the program printed | Do not publish records unread |
|
||||
| Dependencies | 25 third-party packages across four lock files queried against OSV: no advisories on 2026-11-25. `cargo-deny` licence and source policy was not run | Point in time |
|
||||
| `unsafe` in the hybrid crate | Five sites: signal installation, `kill`, `killpg` (two) and a test; each has a safety comment | Reviewed by the author only |
|
||||
| FFI (`crates/ffi`) | Exports catch panics and check null pointers and sizes at the sites sampled. 71 of 91 `unsafe` blocks have no comment nearby (some rely on a function-level `# Safety` section). A panic while the global session lock is held poisons it, after which every call returns an internal error | Sampled, **not reviewed block by block**; native code is paused |
|
||||
| Translator and JIT (`loader`) | No nearby safety comment on any of the 16 blocks in `dbt.rs` or the 9 in `jit.rs` | **Not reviewed** |
|
||||
| Metal (`metal`) | All but one `unsafe` block carry a safety comment | Comments not verified |
|
||||
|
||||
## Not covered
|
||||
|
||||
CrossOver, Wine, Rosetta, D3DMetal and the graphics backends are closed or external and were not assessed. No fuzzing campaign was run in this review.
|
||||
@@ -0,0 +1,46 @@
|
||||
# Decision proposal: the victory-shader import (#394, #395, #399)
|
||||
|
||||
For the maintainer. Prepared 2026-11-25 from the provenance record in #394 (`d8c7a39`), the independent review on [#399](https://github.com/MacosPorters/betterxen/issues/399) and the pull-request reviews. It changes no branch and closes nothing. The author of this proposal also worked on the original import, so it is not an independent review. Not legal advice.
|
||||
|
||||
## The concerns, by kind
|
||||
|
||||
| Concern | Kind | State of evidence | Can engineering fix it? |
|
||||
| --- | --- | --- | --- |
|
||||
| "Game-specific, asset-specific and decryption-related code is never adopted"; handling written for one title is present (17 of 36 files mention it; the review dispositions all 36 upstream paths as exclude) | Repository policy | Recorded with file and line | No. Deleting the comments does not change how the code was developed |
|
||||
| "Never copy ... source from emulator projects built for leaked or unauthorized material" | Repository policy | The upstream project states that purpose | No |
|
||||
| Layouts "as observed in shipped titles", behaviour tuned to the title's programs | Third-party rights (possible) | Plausible, **not established**; no title binaries, assets or keys were found in the crate | Only by independent re-derivation |
|
||||
| `src/gfx10/opcodes.rs` carries Valve's MIT notice (Mesa-derived names) mixed with later edits | Third-party licence | Notice present; compatible with GPL-3.0-or-later | Yes: take names from AMD or re-audit Mesa directly |
|
||||
| Up to 26 authors on one file; permission relayed covers two maintainers' own lines | Provenance | `git blame`; other lines rest on the repository licence | Not for the origin question |
|
||||
| Whether apparently generic code originated independently | Provenance | **Unknown** | Only by a clean-room rewrite |
|
||||
| Static samplers dropped; wave f64 sum used native doubles; folded probe; test runner could run a stale binary | Technical correctness | Found in review and fixed on the branches | Done, but moot if the code is excluded |
|
||||
| Balanced-tree f64 sum order, wave64 behaviour, console equivalence | Technical correctness | **Unverified**; no console hardware | No |
|
||||
|
||||
Technical quality is not the blocker. The policy exclusions would remain if every test passed.
|
||||
|
||||
## What can be kept independently
|
||||
|
||||
| Item | Origin | Check made |
|
||||
| --- | --- | --- |
|
||||
| `workloads/d3d12-wave-probe/` (7 files) | BetterXen | Rated admissible by the #399 review, which also built and ran them on a second machine. Rebuilt here from `d8c7a39` with `-ld3d12 -ldxgi -ldxguid`, with no other file from the branch; no reference to the imported crate. The documented command is missing `-ldxguid` |
|
||||
| Probe findings: D3DMetal reports no double-precision shader support; shaders using `double` write nothing; wave width 32 | Observations | Reproduced by the #399 review on an M2 Pro |
|
||||
| `fixtures/rdna2/*` and their manifest expectations | BetterXen, already on `main` | Unaffected |
|
||||
| Idea of #395's runner: execute only the binary named by the build that just succeeded, with a stale-binary regression test | BetterXen script | Generic; no need until another cross-built test exists |
|
||||
| `betterxen.rs`, `betterxen_tests.rs` | BetterXen, but written against imported types | Review says exclude; keep the intent as notes |
|
||||
|
||||
## Is a clean-room replacement needed?
|
||||
|
||||
**Not for the active direction.** Authorized Windows programs under CrossOver bring ordinary DXBC or DXIL shaders, which CrossOver's backends already translate; the D3D11 and D3D12 workloads confirm that path for shader model 5.0. A console-code translator has no input in the hybrid path.
|
||||
|
||||
If one is ever wanted: derive encodings from AMD's public RDNA 2 documents and DXIL from Microsoft's public specification; have it written by someone who has not read the imported source (people and agents who vendored or reviewed it should not); and start from the existing native `crates/shader`, which already follows those rules and is paused.
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Effect | Cost |
|
||||
| --- | --- | --- |
|
||||
| **A. Exclude the import, keep the probes (recommended)** | New small PR with the seven probe files and the observations; #394 and #395 stay as closed-unmerged history or draft reference, branches kept; #397 is rewritten without the import; the registry and matrix record the decision | Small. No policy change |
|
||||
| B. Change the policy | Edit the engineering rules to permit this class of code, with legal review, then decide file by file | Weakens the rule that protects contributors and the project; the origin of much of the code stays unknown |
|
||||
| C. Leave undecided | #394, #395 and #397 stay blocked | Documentation keeps drifting |
|
||||
|
||||
## What to record if you choose A
|
||||
|
||||
> The victory-shader snapshot at `22b3f8e45a59` is not admitted (provenance review #399). It is a documentation-level reference only. The standalone BetterXen D3D12 probes are retained. No branch is deleted.
|
||||
Reference in new issue
Block a user