fortify / fcli

fcli is a command-line utility for interacting with various Fortify products
https://fortify.github.io/fcli/
Other
31 stars 22 forks source link

Common: GraalVM 22.3 Windows native-image breaks when compressed with UPX #148

Open MikeTheSnowman opened 2 years ago

MikeTheSnowman commented 2 years ago

After some testing, if GraalVM 22.3 is used to create a Windows native image that is then compressed with UPX, the windows binary will break and not work. You will simply get a binary that outputs nothing. This is a known issue by both UPX and GraalVM communities with GraalVM 22.x and newer. Please see:

rsenden commented 2 years ago

This is not an issue at this moment, as we're still using an older GraalVM version, but something to keep in mind if we want to upgrade GraalVM.

rsenden commented 1 year ago

@wtfacoconut Can you please research whether this is still an issue with the GraalVM version that we're currently using (graalvm-community-jdk-17.0.7)?

rsenden commented 5 months ago

Somewhat similar issue applies to Mac binary as well for now, where UPX-compressed binaries will not run on latest MacOS version. At the moment, UPX compression is disabled in .github/workflows/ci.yml for both Windows and Mac binaries. For each, we need to check whether this is still an issue, or whether any fixes in GraalVM or UPX allow us to start compressing these binaries again.