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:
authorliang-kai-shui <1677378668@qq.com>2026-11-22 20:45:13 +0800
committerliang-kai-shui <1677378668@qq.com>2026-11-22 21:16:23 +0800
commit453798ce4ceb4217e85d4186606b6592496ba2a9 (patch)
treeefc3ada6f5d2be24f15eecd45d7299d75bf4b757 /runtime/src/pe_loader.cpp
parenta0acd33d77babe67a28e398b2936a9f735a50f5d (diff)
tex_export: report a bad index and an --out that is a file
texs.sort() raised AttributeError on a non-list index and FileExistsError came from os.makedirs when --out was an existing file, both as tracebacks after argparse. Read the index as one ERROR line with exit 2 when its shape is wrong, and reject a file --out before creating anything. main() now returns 0 explicitly so the CLI contract is testable.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions