-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upx compatibility(Cannot pack after postject-ed) #87
Comments
Okay, so you're trying this on an ELF binary and https://github.com/upx/upx/blob/dae45ae0d4e569e071279bac1693a447934a1363/src/p_lx_elf.cpp#L2544-L2547 is where the error is coming from.
Could you confirm if the packed original node executable also runs without errors? (I'm asking because I just tried using Also, does passing the |
Can confirm this in Linux Node 22 and 23. Node binary itself can be upx-ed and works fine, but postject-ed SEA fails to run with |
See the upx/upx#892 |
I followed NodeJS Official SEA instructions and ended up with an executable that seems works fine.
After that I was advancing to pack the postject-ed executable with upx packer but it turns out to be failing with an error:

while the original node executable can be packed fine.
Don't know what's happening, I wonder is this a limitation or why is this be happening?
The text was updated successfully, but these errors were encountered: