1
0
mirror of https://github.com/upx/upx.git synced 2025-08-07 22:46:51 +08:00
Commit Graph

3713 Commits

Author SHA1 Message Date
5dc4eb4b03 CI: also test linux gcc-m32 builds 2022-12-20 12:10:39 +01:00
a203c72281 make: update Makefile 2022-12-20 11:40:48 +01:00
6cf85cee6e src: minor compatibility fix 2022-12-20 11:40:22 +01:00
1eb6a40fdd src: restore lseek() error check in file.cpp 2022-12-20 11:51:31 +01:00
1bed77e4d3 'sizeof' returns size_t, which on i386 is not as wide as off_t
https://github.com/upx/upx/issues/629
https://github.com/upx/upx/issues/635
	modified:   p_lx_elf.cpp
2022-12-20 07:21:02 -08:00
f2a68023fa MSVC error C4146: unary minus operator applied to unsigned type, result still unsigned
modified:   p_lx_elf.cpp
2022-12-19 16:14:48 -08:00
8ccffc40e3 A real typo that caused an error in "upx -d" de-compressing
modified:   p_lx_elf.cpp
	modified:   ../.github/travis_testsuite_1-expected_sha256sums.sh
2022-12-19 15:45:27 -08:00
dd8c1d0441 clang alignment
modified:   p_lx_elf.cpp
2022-12-19 14:31:26 -08:00
f9f28ff176 More work on "upx -d" de-compression
https://github.com/upx/upx/issues/629
https://github.com/upx/upx/issues/635
	modified:   p_elf_enum.h
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.cpp
2022-12-19 13:49:43 -08:00
3649041195 Return value of FileBase::seek(, SEEK_CUR) was not FileBase::tell()
modified:   file.cpp
2022-12-19 13:37:24 -08:00
c23c7a9379 all: minor updates 2022-12-15 16:20:22 +01:00
9934e33b99 src: pacify a clang scan-build warning in p_mach.cpp 2022-12-12 21:27:34 +01:00
9e75fdda66 src: pacify a -Wcast-align warning 2022-12-12 20:07:27 +01:00
d873a26f41 all: clang-format-15.0.6 2022-12-12 19:25:31 +01:00
91aa5b55ab all: upgrade to upx-stubtools v20221212 2022-12-12 19:25:28 +01:00
3f460a76ce src: fix typo in options.cpp 2022-12-12 05:38:51 +01:00
7256ea3b32 make: update Makefile 2022-12-12 05:32:04 +01:00
4cdf77e16f Stupid MSVC 14.2, 14.3; obtuse clang 14.0.5 (and MemBuffer vs alignment)
MSVC: cannot say "if (0)" to get "check symtax+semantics, but do not emit code"
clang+MemBuffer: must fight too much to get pointer to wider-than-char
	modified:   src/p_lx_elf.cpp
2022-12-11 14:41:38 -08:00
d89813e911 Implement de-compress of --android-shlib
64-bit (arm64, aarch64) only for now.  NYI: 32-bit (armv7).
(Also: implied catch-up with all changes by Markus in the meantime.)
https://github.com/upx/upx/issues/599

	modified:   src/p_lx_elf.cpp
	modified:   src/p_lx_elf.h
2022-12-11 13:46:44 -08:00
7c57b10cae all: minor cleanups 2022-12-02 16:46:16 +01:00
8d1a98e03b misc: update podman images, add build-all script 2022-11-27 23:50:22 +01:00
65a2da4b40 src: more clang-format 2022-11-27 22:03:20 +01:00
02f6786b2a src: new ACC version 2022-11-27 21:56:30 +01:00
9da4f7a6dc src: clang-format more files; cleanups; NFCI 2022-11-27 12:34:15 +01:00
510505a85c p_tmt: more sanity of input, cleanup MemBuffer usage
https://github.com/upx/upx/issues/632
	modified:   src/p_tmt.cpp
2022-11-24 10:28:03 -08:00
741cb3a136 misc: update podman images 2022-11-26 19:12:26 +01:00
9f5d67e27c src: clang-format various packers 2022-11-26 17:45:25 +01:00
93c6496ba8 src: add a xspan check to p_tmt.cpp and clang-format 2022-11-24 09:11:25 +01:00
779b648c5f invert_pt_dynamic: fix thinko; PackLinuxElf64help1 insist on ELF
https://github.com/upx/upx/issues/631
	modified:   src/p_lx_elf.cpp
2022-11-23 19:49:28 -08:00
9d5e06232d testsuite: update checksums caused by version bump 2022-11-22 21:36:32 +01:00
b221c44466 src: re-add non-working PackMachPPC32 to PackMaster 2022-11-22 21:24:33 +01:00
665296f7cf src/util: minor xspan improvements 2022-11-22 21:21:26 +01:00
39778d5f47 cmake: default to relaxed options when building from source tarball 2022-11-22 20:54:12 +01:00
0af9bbb623 all: post-release version bump 2022-11-22 20:51:56 +01:00
fdec47a83d all: prepare for release v4.0.1 2022-11-16 23:15:38 +01:00
7ff913bbd2 src: remove non-working PackMachPPC32 from PackMaster 2022-11-16 22:24:39 +01:00
94775bef9f src: remove non-working PackMachPPC64 from PackMaster; see issue #626 2022-11-16 20:41:31 +01:00
3cf102334f src: add option '--force-overwrite' 2022-11-16 12:52:53 +01:00
627e733a30 src: minor compress_lzma.cpp cleanups 2022-11-15 11:59:22 +01:00
d31b80da5b cmake: improve tests 2022-11-14 13:21:07 +01:00
eb231b65f3 src: clang-format compress_*.cpp; minor cleanup 2022-11-14 11:35:13 +01:00
59e3b1f98d all: cosmetic cleanups in NEWS and doc/Makefile 2022-11-11 05:32:59 +01:00
8b174bb272 submodules: update for new version 2022-11-10 17:34:02 +01:00
4199a44bef armeb stub: b_method as arg5 is 32-bit unsigned
https://github.com/upx/upx/issues/618
	modified:   src/stub/src/arch/arm/v4a/lzma_d.S

	modified:   .github/travis_testsuite_1-expected_sha256sums.sh
        also src/stub/arm*-linux*.h, src/stub/tmp/*.bin.dump
2022-11-10 08:04:35 -08:00
777392c0fe src: add some compress doctest checks 2022-11-10 16:26:36 +01:00
ede1fec5e7 submodules: update for new version 2022-11-10 16:25:33 +01:00
16de3e78a5 src: try to fix canUnpack() confusion - see packer.h 2022-11-10 06:00:53 +01:00
d7508d8c09 src: pefile.cpp: replace "membuffer + x - y" with "membuffer + (x - y)"
This is needed because "membuffer + x" is now bounds-checked, and
the temporary addition would trigger an exception.
2022-11-10 00:40:41 +01:00
2a136c1c1d End users wish to avoid "double packing".
https://github.com/upx/upx/issues/622
	modified:   src/p_lx_elf.cpp
2022-11-09 15:39:16 -08:00
2578102be9 src: misc cleanups 2022-11-09 22:15:11 +01:00