efi: teach PE parsing support for ".profile" sections
authorLennart Poettering <lennart@poettering.net>
Fri, 28 Jun 2024 17:54:46 +0000 (19:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Sep 2024 04:49:08 +0000 (06:49 +0200)
commitf4e081051d950a09ce9331ba55eaf604dac72652
tree39ca6f324f4ec9d3aefec0ac1071869440322681
parent52dd7c813178f0472655cfeb688cae0fe76d254a
efi: teach PE parsing support for ".profile" sections

This adds helpers for:

1. Returning the PE section table of open PE files or memory

2. Scanning PE section tables for the sections that belong to a specific
   profile
src/boot/efi/pe.c
src/boot/efi/pe.h