upx一种可执行程序文件压缩器

upx 一种可执行程序文件压缩器

打包的golang程序,压缩了50%,效果还不错。

# upx up
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2020
UPX 3.96        Markus Oberhumer, Laszlo Molnar & John Reiser   Jan 23rd 2020

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
  10199635 ->   5053560   49.55%   linux/amd64   up

Packed 1 file.

压缩后测试正常。

也发现过压缩后在mips64el无法运行的情况,故测试还是必要的。

原文地址:https://www.cnblogs.com/hiyang/p/13590933.html