~roguescholar/ipxe/trunk

  • Committer: Michael Brown
  • Date: 2023-11-27 12:42:58 UTC
  • Revision ID: git-v1:a147245f1a2f92a85a75226ea921acb22322ab4d
[efi] Extend PE header size to cover space up to first section

Hybrid bzImage and UEFI binaries (such as wimboot) may place sections
at explicit offsets within the PE file, as described in commit b30a098
("[efi] Use load memory address as file offset for hybrid binaries").
This can leave a gap after the PE headers that is not covered by any
section.  It is not entirely clear whether or not such gaps are
permitted in binaries submitted for Secure Boot signing.

To minimise potential problems, extend the PE header size to cover any
space before the first explicitly placed section.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Filename Latest Rev Last Changed Committer Comment Size
..
arch 1 19 years ago Michael Brown Initial revision Diff
bin 11 19 years ago Michael Brown Merged mcb30-realmode-redesign back to HEAD Diff
config 210 19 years ago Michael Brown All .h files in this directory are generated from Diff
core 1 19 years ago Michael Brown Initial revision Diff
crypto 890 17 years ago Derek Pryor Adding SSL Constructs header file. (First version) Diff
doc 469 18 years ago Michael Brown Documented the compilation stages Diff
drivers 1 19 years ago Michael Brown Initial revision Diff
hci 806 17 years ago Dan Lynch - separated curses.c out into separate source file Diff
image 1399 17 years ago Michael Brown Remove osloader.c and replace with a prep_segment( Diff
include 1 19 years ago Michael Brown Initial revision Diff
interface 472 18 years ago Michael Brown Documented the UDP API calls. Diff
libgcc 1948 16 years ago Michael Brown Import various libgcc functions from syslinux. Ex Diff
net 587 18 years ago Michael Brown First version. ARP protocol independence in less Diff
scripts 5111 8 years ago Michael Brown [efi] Centralise architecture-independent EFI Make Diff
tests 785 17 years ago Michael Brown Added sample AoE test code to tree Diff
usr 1240 17 years ago Michael Brown Split the (quick hack) boot logic out from main.c Diff
util 1 19 years ago Michael Brown Initial revision Diff
.gitignore 2924 14 years ago Michael Brown [build] Add support for local configuration files 33 bytes Diff Download File
doxygen.cfg 2981 13 years ago Michael Brown [build] Remove PACKED macro Most of iPXE uses __a 61.1 KB Diff Download File
Makefile 6039 2 years ago Michael Brown [build] Avoid invoking genkeymap.py via Perl The 7.6 KB Diff Download File
Makefile.efi 6274 9 months ago Michael Brown [build] Avoid using multiple target patterns in pa 1.4 KB Diff Download File
Makefile.housekeeping 6280 9 months ago Michael Brown [build] Inhibit more linker warnings about an impl 43.6 KB Diff Download File
Makefile.linux 6161 1 year ago Michael Brown [linux] Centralise the linker script for Linux bin 1.2 KB Diff Download File