pe: add cpu_stdio_exe_aot CLI entry and synthetic validation suite #1974
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1981"
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 Ammmae0x on 2026-11-24T22:35:24Z.
Change
Extract
main(argv=None) -> intintools/cpu_stdio_exe_aot.py, add an offline synthetic AMD64 PE32+ unit and CLI refusal test suite intests/cpu_stdio_exe_aot_check.py, and registercpu_stdio_exe_aot_checkinCMakeLists.txt.--entry-exportwithaot_source_sha256provenance,STARTUP_ONLY(cpu_exe_io.dll!finish_exe) skipping under--entry-export, andallow_process_exit=Truewith anoreturnimport.1without tracebacks onOSError,pefile.PEFormatError, andValueError.AI-assisted.
Verification
python.exe -B tests/cpu_stdio_exe_aot_check.py -v:Ran 10 tests,OK.ctest --preset dev --no-tests=error -R "^(cpu_stdio_exe_aot_check|cpu_aot_exe.*)$" --output-on-failure:4/4passed (cpu_aot_exe_entry,cpu_aot_exe_call_targets,cpu_aot_exe_nested_calls,cpu_stdio_exe_aot_check;1259total tests configured).ctest --preset release --no-tests=error -R "^(cpu_stdio_exe_aot_check|cpu_aot_exe.*)$" --output-on-failure:4/4passed (1259total tests configured).python.exe -B tests/form_coverage_check.py: passed.python.exe -B tests/docs_links_check.py: passed (Checked 18 Markdown files and 387 links).python.exe -B tests/bidi_controls_check.py: passed (Checked 1378 tracked source, script and build/CI files: no bidirectional controls).Evidence and follow-up
All test fixtures in
tests/cpu_stdio_exe_aot_check.pyare constructed deterministically in-memory using synthetic AMD64 PE32+ bytes and require no external files or game assets.Checklist