upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-21 23:41:39 -0600
committerbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-21 23:41:39 -0600
commit0fe954580847f02f2ef4b9a37da9cb00bcece3ad (patch)
treed50d99a2960493164718c5d4ae696912c7900882 /runtime/src/pe_loader.cpp
parentdcd8ecf10b138566d567020562b7afd853a89024 (diff)
tile_probe: no candidate layout is an error, not a silent success
When every candidate was rejected (a sample shorter than 16 rows of blocks at any of the widths) main() printed nothing, wrote no preview and returned 0, so a script saw a successful run with no result. The empty-file and bad-offset paths already exit 1, and tools/swizzle_search.py treats the same outcome as one ERROR line, so match it: name the input and offset, exit 1. Tests: an 8-byte and a 4 KiB blob, with and without --out, must exit 1, print one line naming the file, and leave no preview; the 16 KiB case still probes and exits 0. Negative control on main: both new subtests fail (exit 0, no message). With the change: 5/5. No game data. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions