diff options
| author | liang-kai-shui <1677378668@qq.com> | 2026-11-22 20:45:13 +0800 |
|---|---|---|
| committer | liang-kai-shui <1677378668@qq.com> | 2026-11-22 21:16:23 +0800 |
| commit | 453798ce4ceb4217e85d4186606b6592496ba2a9 (patch) | |
| tree | efc3ada6f5d2be24f15eecd45d7299d75bf4b757 /runtime/src/pe_loader.cpp | |
| parent | a0acd33d77babe67a28e398b2936a9f735a50f5d (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