all: yet more cleanups

Changes include:
  - use standard names for PE constants
  - add some more "noexcept"
  - improve upx_is_integral type-trait
  - introduce is_same_all and is_same_any type-traits
  - prepare TE-size checks in packer.h
  - CI updates
This commit is contained in:
Markus F.X.J. Oberhumer
2023-04-18 17:02:13 +02:00
parent 15484aa296
commit 320e5b850f
33 changed files with 493 additions and 362 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ bool PackWinCeArm::needForceOption() const {
// return true if we need `--force` to pack this file
bool r = false;
r |= (ih.opthdrsize != 0xe0);
r |= ((ih.flags & EXECUTABLE) == 0);
r |= ((ih.flags & IMAGE_FILE_EXECUTABLE_IMAGE) == 0);
r |= (ih.entry == 0 /*&& !isdll*/);
r |= (ih.ddirsentries != 16);
//// r |= (IDSIZE(PEDIR_EXCEPTION) != 0); // is this used on arm?