IMAGE_SUBSYSTEM_EFI_APPLICATION
Beginning of support for compressing EFI files; lacks run-time decompressor. https://github.com/upx/upx/issues/518 modified: p_armpe.cpp modified: p_w32pe.cpp modified: p_w64pep.cpp modified: pefile.cpp modified: pefile.h
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
c9f6a3583c
commit
02bd9cc403
@@ -2148,6 +2148,16 @@ void PeFile::checkHeaderValues(unsigned subsystem, unsigned mask,
|
||||
subsystem);
|
||||
throwCantPack(buf);
|
||||
}
|
||||
if (mask & (
|
||||
(1u<<IMAGE_SUBSYSTEM_EFI_APPLICATION)
|
||||
|(1u<<IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER)
|
||||
|(1u<<IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER)
|
||||
|(1u<<IMAGE_SUBSYSTEM_EFI_ROM)
|
||||
))
|
||||
{
|
||||
infoWarning("PE: subsystem %u (EFI) lacks a run-time decompressor",
|
||||
subsystem);
|
||||
}
|
||||
//check CLR Runtime Header directory entry
|
||||
if (IDSIZE(PEDIR_COMRT))
|
||||
throwCantPack(".NET files are not yet supported");
|
||||
|
||||
Reference in New Issue
Block a user