Métriques du dépôt
- Stars
- (12 842 étoiles)
- Métriques de merge PR
- (Merge moyen 23h 25m) (18 PRs mergées en 30 j)
Description
What's the problem (or question)?
When compressing a windows executable (compiled with go 1.9.1), all the info of the file are erased.
By info I mean what you see at the details pane of the file properties:
After the packing we got this:

What should have happened?
It should keep the info of the executable
Do you have an idea for a solution?
The reason might be the way that the compiling is done.
First I'm creating a resource.syso(resource.zip) with the icon, manifest and versioninfo at the root of my project, and then build the executable with Go.
Go automatically recognizes the resource and adds it to the exe, but I don't know if it gets packaged normally.
If go uses a non standard method of packing, then when upx reconstructs the file it might not know about it.
How can we reproduce the issue?
- Get the file (GoCheck.exe.zip)
- Look at the details tab of the file's properties
- Pack it with UPX
- Look at the details again
Please tell us details about your environment.
- UPX version used (
upx --version): 3.9.4, 3.9.1 - Host Operating System and version: Windows 7 SP1 x64
- Host CPU architecture: 386
- Target Operating System and version: Windows All
- Target CPU architecture: 386