Recover chained x64 unwind ranges and recompile shared early returns #30

Manually merged
github merged 1 commit from gh-pr/30/head into gh-pr/30/base 2026-11-26 21:23:01 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-21 10:15 UTC · original
R0Y00:codex/chained-cpu-ranges → main · +345 −14 · 10 files · 1 commits · merged 2026-11-21 10:17 UTC

Fixes #28. Resolve the unwind parent triples, decode each owned interval and validate reached branch boundaries and restored state. The Windows fixture includes a neighboring function and a two-level unwind chain. Tests cover two shared early exits, non-null controls, physical RBX/RSI, invalid edges, invalid chains and explicit indirect-call stops.

The local loader yielded four owned intervals. Its generated Windows code returned guest value 6 on both null cases and stopped on the non-null indirect call without writing a return. Native differential tests use the repository fixture. Only source-owned fixtures and aggregate observations are included. Refs #29 for the object callback ABI.

Local: all four CPU CTests passed; the chained range test also passed after adding strict/partial call controls.

**@⁠R0Y00** on GitHub · 2026-11-21 10:15 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/30) `R0Y00:codex/chained-cpu-ranges` → `main` · +345 −14 · 10 files · 1 commits · merged 2026-11-21 10:17 UTC Fixes #28. Resolve the unwind parent triples, decode each owned interval and validate reached branch boundaries and restored state. The Windows fixture includes a neighboring function and a two-level unwind chain. Tests cover two shared early exits, non-null controls, physical RBX/RSI, invalid edges, invalid chains and explicit indirect-call stops. The local loader yielded four owned intervals. Its generated Windows code returned guest value 6 on both null cases and stopped on the non-null indirect call without writing a return. Native differential tests use the repository fixture. Only source-owned fixtures and aggregate observations are included. Refs #29 for the object callback ABI. Local: all four CPU CTests passed; the chained range test also passed after adding strict/partial call controls.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:00 +00:00
github manually merged commit 0de5cd7102 into gh-pr/30/base 2026-11-26 21:23:01 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.