cpu: translate nested direct calls from EXE entry #250
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/253"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-21T19:23:53Z.
Extends the source-built EXE translator to follow nested direct calls by RVA and emit each callee before its callers. The public diff contains only this change on top of main, with #247 and #256 already merged. The traversal reuses the existing named-provider validation and preserves the returning entry and native termination wrapper from #394. Recursive call graphs are rejected.
The fixture adjusts one argument before calling the existing
mix_argswrapper. The control bypasses that wrapper and calls the DLL directly. For both selector bytes, bypassing changes the import arguments, output bytes, and process exit code. Each translated process matches its native Windows counterpart.Verified at
9bd9062ona0c5b7b: all 107 CPU tests passed locally on Windows x64 with no skips. This includes the nested-call control, two direct targets, two named providers, framed and mapped EXE cases, and native termination. The Markdown link check also passed. A trial merge with0a9f4b4completed without conflicts.