-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Milestone
Description
This issue tracker is ONLY used for reporting bugs.
Please use stackoverflow for supporting issues.
What's the problem (or question)?
UPX removes the CETCOMPAT flag (Control-flow Enforcement Technology / Hardware-enforced Stack Protection) from Windows EXE after compressing.
What should have happened?
UPX should preserve the CETCOMPAT flag (unless the UPX stub isn't compatible with CET).
Do you have an idea for a solution?
How can we reproduce the issue?
- Compress an EXE with CETCOMPAT flag set by linker
- Check status of Hardware-enforced Stack Protection - it won't be enabled
- CETCOMPAT flag of a running EXE can be checked via Windows Task Manager - Details tab - enable the "Hardware-enforced Stack Protection" column
Please tell us details about your environment.
- UPX version used: 5.0.0
- Host Operating System and version: Windows 11
- Host CPU architecture: x64
- Target Operating System and version: Windows 11
- Target CPU architecture: x64
Reactions are currently unavailable