diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-11-24 15:55:41 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-11-24 16:18:05 +0000 |
commit | 6d1e3b9f333722d15193a18efe96f0acc517d116 (patch) | |
tree | 28706b4c58d769b641399d6ba699d9b2acd32978 /src/util/mergerom.pl | |
parent | 18582a05fc65fc8835220c27528ef8902f5da60e (diff) | |
download | ipxe-6d1e3b9f333722d15193a18efe96f0acc517d116.tar.gz |
[efi] Do not assume canonical PE section ordering
The BaseOfCode (and, in PE32, BaseOfData) fields imply an assumption
that binaries are laid out as code followed by initialised data
followed by uninitialised data. This assumption may not be valid for
complex binaries such as wimboot.
Remove this implicit assumption, and use arguably justifiable values
for the assorted summary start and size fields within the PE headers.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/mergerom.pl')
0 files changed, 0 insertions, 0 deletions