diff options
| author | Shrey Ratna <shreyratna4445@hotmail.com> | 2026-11-22 21:11:40 +0530 |
|---|---|---|
| committer | Shrey Ratna <shreyratna4445@hotmail.com> | 2026-11-22 21:11:40 +0530 |
| commit | f8e5d476c89768085912463c36bbaefcc5867745 (patch) | |
| tree | 69413981cbb9e23db7958f4124f35baba2c11c79 /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
analyze_4240_full: --json never overwrites an input archive
The report is written after every archive has been read, so a --json that
named one of the inputs (directly, through another spelling or a link)
replaced that archive with the report. A folder for --json, or a failed
write, ended the full scan with a traceback. Both paths are now refused
before the scan with one ERROR line and exit 2, and a failed write is one
"cannot write" line with exit 2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions