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:
authorkotorvr <332716892+kotorvr@users.noreply.github.com>2026-11-22 20:48:04 +0000
committerkotorvr <332716892+kotorvr@users.noreply.github.com>2026-11-22 20:48:04 +0000
commit0977b5dc7ed6638a6e13aa94df11149b5b601f7b (patch)
treee140ecf5c3fc5bdf2fd76b4bc61ce691e273c492 /runtime/src/pe_loader.cpp
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
file_system: a MAXIMUM_ALLOWED open is a write-open, so it cannot write the package
writes() did not count MAXIMUM_ALLOWED as write access. CreateFileW/A and CreateFile2 then opened the package file itself, and a WriteFile through the handle changed the package, which docs/runtime_imports.md says is never written. Such an open now gets the overlay copy like any other write-open. file_system_test: the three entry points, with the package bytes and the overlay copy checked after a write; a plain read still makes no overlay copy. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions