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
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