The static PE probe commit left main failing CI at every step after formatting:
- cargo fmt: apply rustfmt to cli/main.rs, loader/probe.rs and
loader/tests/probe_static.rs.
- clippy: collapse the four nested if / if-let blocks in probe.rs into
let-chains (edition 2024); no behaviour change.
- build: make the probe library match its two callers.
run_probe_and_export now takes the PE bytes and a ProbeConfig (the
CLI's config was previously ignored in favour of the default),
ProbeReport.pe is renamed to ProbeReport.parsed, and
pe::IMAGE_SCN_CNT_CODE (0x00000020, PE/COFF section flag) is added.
- tests: gate test_guest_dbt_first_rendered_frame_with_metal behind a new
xenora-loader gpu-tests feature. CI's paravirtual Metal device lacks
Apple family 7; the two CPU-only DBT tests in the same file keep
running in CI. scripts/test-gpu.sh now runs the gated test.
Signed-off-by: Andre Encarnacao <andreencar@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Add a read-only probe command that inventories PE metadata, imports, relocations, TLS, and entry-point instruction coverage
- Export compatibility diagnostics as CSV, JSON, and Markdown