Repository navigation
Conversation
Stop discarding PE import and delay-import parse errors in inspect and console detection. A malformed table previously produced a successful empty report and classified the file as a regular Windows program. A synthetic-PE CLI regression returned 0 instead of 3 before the fix. Windows integration test afterward: 1 passed, 0 failed, 0 ignored, covering plain and JSON output, both directory types, and valid missing directories.
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Regression run of Against the limits in CONTRIBUTING.md: 101 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
|
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open PR makes AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
What and why
I stopped
xcl inspectfrom treating unreadable import tables as empty ones. Before the fix, a synthetic PE with a valid x64 header and an invalid import-directory RVA returned exit code 0 and reportedImports: 0 functions from 0 DLLs.What is in it
Nonefrom console detection when either import table cannot be parsed, rather than classifying it as a regular Windows executable.PR #912 adds coverage of the test title's valid imports; #919 covers CLI errors separately. Neither changes these discarded parsing errors.
Tested
I ran the checks in a UTM Windows 11 Pro ARM64 VM (10.0.26100.1742, 4 GiB RAM, virtual
virt-10.0CPU), using Rust 1.100.0 targetingx86_64-pc-windows-msvc. Display: Red Hat VirtIO GPU DOD controller, driver 22.7.38.43.The tested source was main
47efa2ecea0a12934719ae69b81930cf02a4b1c3plus the Rust changes committed asdcfb69ed3ad1e19619e6ef3b50a12cfe86dd534d, copied into an isolated VM source tree. This was not a clean-head smoke run.cargo test --locked -p xcl --test inspect_e2e -- --test-threads=4:Not tested
I have not run the full workspace suite, a real-title regression smoke, physical x64 Windows hardware, release-profile tests, or D3D12 GPU tests for this change. The host is macOS; the runtime checks ran inside Windows. The fixtures are synthetic and are not executed as game code.
Regression run
Required before merge: generated
xcl-smokeblocks from clean main and PR-head commits, using the same title and duration, and the full required suite. Those checks remain outstanding.AI use
I used omp with openai-codex/gpt-6-astra to investigate, implement the fix and regression test, run the Windows VM checks, and prepare this PR.