cpu: exercise a framed call to a bound leaf in the three-way EXE comparison #435
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/441"
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 R0Y00 on 2026-11-22T03:26:03Z.
Refs #317, #165. Integration after #420, #425 and #430. The EXE entry calls an exported, fixed-frame caller which saves RBX and directly calls a non-exported leaf without unwind data. The leaf range comes from the same EXE's linker map, bound to its image hash. The original and mapped processes run the same PE. The AOT executable links the actual generated entry, caller and leaf.
Local Windows x64, MSVC 19.51.36244, commit
e88d4e7:Both tests passed. For selectors 0 and 1, all three runners matched on the 16 import argument bytes, eight output bytes and process exit (0x57 and 0x60d). The control runs the unmodified EXE with the same selector and requires a difference in each field. The test retains missing-provider diagnostics.
Imported from R0Y00/Xbox2Windows. Originally posted by grahamster2 on 2026-11-22T03:33:00Z.
Independent run on a second MSVC version: Windows 11 Pro build 26200, VS Build Tools 2026 18.3 (MSVC 19.50.35725, ML64), Windows SDK 10.0.26100, head
e88d4e7.cpu_native_exe_chainpassed: selector 0 arguments0303000001000000fdffffff00000000, output1103000000000000, exit 0x60d; selector 1 arguments30000000000000000600000000000000, output3500000000000000, exit 0x57. Original, mapped and AOT runners matched.cpu_native_exe_frame_chainpassed with the same values, selectors swapped by the nested leaf (0 -> exit 0x57, 1 -> exit 0x60d). The bypass control differed in every field.-E '^(conditional_import_paths|static_exe_intake|bundled_export_forwarders)$'): 160 passed, 0 failed, 3 capability skips of 163 (bvh_wave64_hardware,bvh_wave64_warp,wave_shuffle_warp).cpu_switch_aot.py, seeds 100-119: 644 exports, 534 translated (314 with calls or tails), 110 refused as expected, 0 mismatches.