1
0
mirror of https://github.com/upx/upx.git synced 2025-08-11 22:52:30 +08:00
Commit Graph

3713 Commits

Author SHA1 Message Date
dadee7acfb doc: update NEWS to mention a user visible change 2022-11-09 21:47:28 +01:00
28f0bb4e11 src: fix pefile.cpp otls allocation not accounting for alignment. Closes #621. 2022-11-09 19:29:16 +01:00
824c8a8efb src: introduce raw_index_bytes() 2022-11-08 23:05:34 +01:00
37f27a1262 "gcc -Werror=format-security" is small-minded
... and does not perform constant propagation
	modified:   src/p_vmlinx.cpp
2022-11-08 13:36:28 -08:00
2b8a7a492a src/util: fix compilation when not using xspan 2022-11-08 20:38:52 +01:00
db56bbb11b src/util: forward memset() in xspan_fwd.h 2022-11-08 20:34:44 +01:00
82d26f04a4 p_vmlinx was too eager
https://github.com/upx/upx/issues/622
	modified:   src/p_vmlinx.cpp
2022-11-08 10:30:48 -08:00
5045f7eb42 submodules: update for new versions 2022-11-08 17:33:56 +01:00
82a6ccac4d misc: add misc/cross-compile-upx-with-podman 2022-11-08 03:54:30 +01:00
2d74298001 make: update Makefiles 2022-11-08 03:52:43 +01:00
ce21254ed2 all: misc cleanups 2022-11-06 08:35:00 +01:00
874250fe49 submodules: update for new versions 2022-11-06 08:34:06 +01:00
c8a3acbba8 Static executable with 4 PT_LOAD has only ELF headers in first PT_LOAD
https://github.com/upx/upx/issues/615
2022-11-02 10:03:25 -07:00
81e11987a2 all: add UPX_VERSION_GIT_DESCRIBE 2022-11-02 10:35:40 +01:00
668cefec2f src: mention UPX_CONFIG_DISABLE_GITREV build config 2022-11-02 02:52:20 +01:00
212bc04257 cmake: run tests sequentially 2022-11-02 02:50:02 +01:00
db401fd05e cmake: improve "make test" 2022-10-31 18:53:38 +01:00
bebe72481c testsuite: update checksums 2022-10-29 19:16:57 +02:00
2b9e83256d SELinux execmod requires no PROT_EXEC when PROT_WRITE
modified:   src/stub/src/amd64-linux.elf-main.c

	modified:   src/stub/amd64-linux.elf-fold.h
	modified:   src/stub/arm64-linux.elf-fold.h
	modified:   src/stub/powerpc64-linux.elf-fold.h
	modified:   src/stub/powerpc64le-linux.elf-fold.h
	modified:   src/stub/tmp/amd64-linux.elf-fold.map
	modified:   src/stub/tmp/arm64-linux.elf-fold.map
	modified:   src/stub/tmp/powerpc64-linux.elf-fold.map
	modified:   src/stub/tmp/powerpc64le-linux.elf-fold.map
2022-10-28 13:04:17 -07:00
5763518cce misc: add misc/rebuild-stubs-with-podman to add upx-4.0.0 2022-10-28 20:03:30 +02:00
3e4c5bab72 testsuite: update checksums caused by version bump 2022-10-28 17:30:56 +02:00
bce109ab54 all: post-release version bump 2022-10-28 17:10:52 +02:00
69ca635c4c all: prepare for 4.0.0 release v4.0.0 2022-10-28 10:38:03 +02:00
e0bf460993 src: rename membuffer "Uncompression" to "Decompression" 2022-10-28 10:34:31 +02:00
29762a8a96 CI: small update 2022-10-28 07:51:00 +02:00
c7ef08dc2d testsuite: update 2022-10-27 22:35:45 +02:00
50a6698715 Each PROT_WRITE segment has implicit .bss on end of last page (64-bit only for now);
Also  workaround kernel bug invoking the escape hatch on arm64 (aarch64).
https://github.com/upx/upx/issues/611
2022-10-27 11:01:37 -07:00
7dd2cdea1e src: deprecate util/bptr.h 2022-10-27 17:52:15 +02:00
af87f7f2bf doc: add missing NEWS entries 2022-10-27 18:10:29 +02:00
295889023f all: set next version back to 4.0.0, bump tentative release date, update
docs
2022-10-27 17:36:02 +02:00
feef2e38cf all: final tweaks for release v3.99 2022-10-27 16:53:16 +02:00
80d30aab32 testsuite: update checksums caused by version change 2022-10-27 16:03:08 +02:00
e910a9dc3e all: change version back to 3.99; docs: warn about know regressions and
clarify GPLv2+ COPYING
2022-10-27 16:00:25 +02:00
504224696c misc: update misc/rebuild-stubs-with-podman to install previous UPX versions 2022-10-27 15:35:59 +02:00
e2acd666df CI: remove some obsolete stuff 2022-10-25 02:53:49 +02:00
e5c0d998b7 src: fully deprecate src/Makefile; minor doc and CI cleanups 2022-10-25 01:48:45 +02:00
63f6fef964 all: don't use egrep or fgrep 2022-10-25 01:47:42 +02:00
983eb6d676 src: improve error message when using doctest options like '--dt-help'; add
doctest info to help.cpp
2022-10-25 01:47:38 +02:00
98fedef1a1 testsuite: update checksums 2022-10-24 12:56:49 +02:00
75a769759d src/stub: sync stubs 2022-10-24 12:56:49 +02:00
2354b01bad Adapt to libbfd: "no Shdrs" requires 0==.e_shentsize and 0==.e_shnum
modified:   p_lx_elf.cpp
2022-10-24 12:56:49 +02:00
c331b9f1e2 Zero the tail of last RW page, even when variable page size
https://github.com/upx/upx/issues/611
	modified:   stub/src/amd64-linux.elf-main.c
2022-10-24 12:56:49 +02:00
afeaeeddec munmap(, Phdr[C_TEXT=1].p_memsz); // not .p_vaddr
modified:   stub/src/arm64-linux.elf-fold.S
	modified:   stub/src/powerpc64le-linux.elf-fold.S
2022-10-24 12:56:49 +02:00
ab7ef9f511 Document the value of "brk #0" instruction
modified:   stub/src/arm64-linux.elf-entry.S
2022-10-24 12:56:49 +02:00
d3ad6d25d8 PackLinuxElf64::asl_pack2_Shdrs() for better fit in logical flow
modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
2022-10-24 12:56:49 +02:00
2e29f9fa5f pack2() fixes for --android-shlib
WIP for https://github.com/upx/upx/issues/599
	modified:   p_lx_elf.cpp
2022-10-24 12:56:49 +02:00
5d9f71bb13 asl_pack1_Shdrs()
modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
2022-10-24 12:56:49 +02:00
82ed25bb44 Major fix 64-bit un_shlib_1() and unpack(), but not --android-shlib
Also canUnpack() is really a 'bool' which sets overlay_offset
when 'true'; confusing!
        https://github.com/upx/upx/issues/599 (partial)
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.h
2022-10-24 12:56:49 +02:00
f57393c0e8 all: simplify include path handling; update src/Makefile 2022-10-24 12:56:35 +02:00
b54cced19c src: add some tests for compress_zlib 2022-10-24 12:18:25 +02:00