efi_loader: carve out efi_check_pe()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 12 Jan 2021 11:40:32 +0000 (12:40 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:00 +0000 (02:38 +0100)
commit5dad05a0e61d759af2df8cf900d044a8485bd747
tree84e44d49c3dba2d5ab979d0f5e649777faa0cf31
parentdd860b90ff41e064e35a5e5cc213669c9d0868fb
efi_loader: carve out efi_check_pe()

Carve out a function to check that a buffer contains a PE-COFF image.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_image_loader.c