Read Windows trampoline resources within their file bounds #23329
Read trampoline resources from bounded PE data
73e66581
woodruffw
approved these changes
on 2026-11-20
zanieb
changed the title Use `editpe` instead of the Windows API to read PE resources Read Windows trampoline resources within their file bounds 3 days ago
Bound the Windows loader’s resource copy to the mapped datafile
7a64bbd9
zanieb
force pushed
from
2a0b72dc
to
7a64bbd9
11 hours ago
Require a data-file mapping before interpreting resource offsets
2bff614e
Read trampoline resource bytes and length through one file handle
81ea34d2
Reject a launcher when its script resource extends past EOF
5959403c
Match the loaded mapping to the open file without reopening its resol…
bd509032
Distinguish a missing or empty PE resource from a loader failure
d967e0e9
Check the backing files of the PE mapping and reader directly
85c8fac3
Verify the backing file only after finding a trampoline resource
69043653
Exclude writers while looking up trampoline resource offsets
b3f7cd81
Allow renames when reopening the mapped launcher
9421d1e4
Test that resource offsets cannot be applied to a byte-identical copy
9c9b86c8
Limit the kind read to the byte the launcher uses
4b77588b
Trace failures to verify a Windows launcher's backing file
c196bd22
Login to write a write a comment.
Login via GitHub