Markus F.X.J. Oberhumer
43f9b90c92
cmake update
2024-05-24 09:17:37 +02:00
Markus F.X.J. Oberhumer
6ee45dcdcd
CI updates
2024-05-22 22:23:40 +02:00
Markus F.X.J. Oberhumer
344246725b
src: more upx::max cleanups
2024-05-22 09:49:20 +02:00
John Reiser
57763ca1e2
ELF stubs: go_lang different placement of DT_STRTAB, DT_SYMTAB
...
https://github.com/upx/upx/issues/825
modified: p_lx_elf.cpp
2024-05-21 17:14:21 -07:00
Markus F.X.J. Oberhumer
40b7e24fcc
src: introduce upx::max and friends; updates for clang-19 git snapshot
2024-05-15 14:06:05 +02:00
Markus F.X.J. Oberhumer
9e0f16a629
submodules: update for new versions
2024-05-15 12:32:36 +02:00
Markus F.X.J. Oberhumer
33f4f3a5a1
all: minor clang-tidy cleanups
2024-05-12 08:35:04 +02:00
Markus F.X.J. Oberhumer
07a3b75b3e
submodules: update for new versions
2024-05-12 08:33:16 +02:00
Markus F.X.J. Oberhumer
bdea2539d1
cmake: use recommended CMAKE install variables
...
The documentation of GNUInstallDirs explicitly recommends to
*NOT* use the CMAKE_INSTALL_FULL_<dir> variants.
2024-05-11 22:12:29 +02:00
Markus F.X.J. Oberhumer
ed3d7b0c45
all: minor cleanups
2024-05-11 22:07:08 +02:00
Markus F.X.J. Oberhumer
cba44c45fc
src: introduce ptr_get_address()
2024-05-11 17:37:15 +02:00
Markus F.X.J. Oberhumer
07b533f95b
submodules: update for new versions
2024-05-11 13:17:43 +02:00
Markus F.X.J. Oberhumer
7b0a79dec5
all: update LZMA SDK license information
...
The LZMA SDK was placed in the public domain as of
version 4.62 (December 2008).
https://www.7-zip.org/sdk.html
And according to https://sourceforge.net/p/sevenzip/discussion/45797/thread/685169cf/
"Are older LZMA versions in the public domain?"
"Yes, you can use old versions of LZMA SDK as public domain."
-- Igor Pavlov, 2011-06-21
2024-05-11 12:52:26 +02:00
Markus F.X.J. Oberhumer
befd01aa96
CI updates
2024-05-10 10:30:59 +02:00
Markus F.X.J. Oberhumer
1cc263624d
submodules: update for new versions
2024-05-10 10:04:13 +02:00
Markus F.X.J. Oberhumer
4daa2c1cde
testsuite: update checksums caused by version bump
2024-05-09 12:50:03 +02:00
Markus F.X.J. Oberhumer
7081c57571
all: post-release version bump
2024-05-09 12:44:51 +02:00
Markus F.X.J. Oberhumer
3757579ffc
all: prepare for release
2024-05-09 12:03:12 +02:00
Markus F.X.J. Oberhumer
2962dc351b
CI updates
2024-05-09 10:21:39 +02:00
Markus F.X.J. Oberhumer
c04c685469
src: restrict upx::atomic_exchange to pointer-size for now
2024-05-08 23:08:33 +02:00
Markus F.X.J. Oberhumer
72c9769953
src: avoid warnings when compiling with llvm-mingw-nightly
2024-05-08 22:22:13 +02:00
Markus F.X.J. Oberhumer
42759b94bd
all: more clang-tidy cleanups
2024-05-08 15:12:57 +02:00
Markus F.X.J. Oberhumer
aa9e69f03e
submodules: update for new versions
2024-05-08 15:09:56 +02:00
Markus F.X.J. Oberhumer
0f3939df15
src: pacify clang-tidy
2024-05-07 14:46:02 +02:00
RainRat
62265a1bc9
fix typos
2024-05-07 01:41:41 -07:00
Markus F.X.J. Oberhumer
76b2cec8ee
src: fix compilation with clang
2024-05-07 12:33:55 +02:00
Markus F.X.J. Oberhumer
3d82f0cfe1
src: introduce upx::atomic_exchange; cleanups
2024-05-07 10:05:44 +02:00
John Reiser
e5546bc8b0
32-bit ELF escape hatch when no fit on last executable page
...
... about 1/1000 (4/PAGE_SIZE) chance
modified: src/stub/src/i386-linux.elf-main.c
modified: misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
plus all 32-bit elf-fold.h, elf-fold.map
2024-05-06 09:42:13 -07:00
Markus F.X.J. Oberhumer
6fc0a00ac8
all: update for clang-tidy-18
2024-05-06 05:40:22 +02:00
Markus F.X.J. Oberhumer
3e5ba5c064
CI updates
2024-05-05 09:35:35 +02:00
John Reiser
4c32a8e3d4
Fix attempted recovery from corrupted b_info
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66271&q=label%3AProj-upx
modified: p_lx_elf.cpp
2024-05-04 10:35:39 -07:00
John Reiser
2ea316d754
Detect sizeofcmds too small
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66330&q=label%3AProj-upx
modified: p_mach.cpp
2024-05-04 10:10:37 -07:00
John Reiser
548227a55b
mb_dt_offsets.clear() prevents undef from corrupted input
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66344&q=label%3AProj-upx
modified: p_lx_elf.cpp
2024-05-04 09:56:34 -07:00
John Reiser
a831a20910
unpackExtent detects corrupted compression method
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66338&q=label%3AProj-upx
modified: p_unix.cpp
2024-05-04 09:43:47 -07:00
John Reiser
811f66de84
Check gnu_shift during unpack
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66273&q=label%3AProj-upx
modified: p_lx_elf.cpp
2024-05-04 09:05:48 -07:00
Markus F.X.J. Oberhumer
84d806328b
CI updates
2024-05-02 23:31:10 +02:00
Markus F.X.J. Oberhumer
285d4c4c65
submodules: update for new versions
2024-05-02 19:41:50 +02:00
Markus F.X.J. Oberhumer
8506f5b17c
testsuite: update checksums caused by version change
2024-05-02 19:38:46 +02:00
Markus F.X.J. Oberhumer
a87fd56b3e
all: update version
2024-05-02 18:51:55 +02:00
Markus F.X.J. Oberhumer
f0cb30e2b9
all: minor cleanups
2024-05-02 18:50:23 +02:00
Markus F.X.J. Oberhumer
038743c694
CI updates
2024-05-02 03:21:27 +02:00
John Reiser
0e6cef99a0
Guard against empty PT_NOTE
...
https://github.com/upx/upx/issues/817
modified: p_lx_elf.cpp
2024-05-01 10:09:52 -07:00
John Reiser
92c925fe95
New i386/lzma-multi_d.S enables unpacking more than one block
...
Used by p_lx_exe.cpp; others keep old i386/lzma_d.S
which allows only one block, but avoids trouble with
anti-virus utilities for some OS.
modified: misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
new file: src/stub/src/arch/i386/lzma-multi_d.S
modified: src/stub/src/arch/i386/lzma_d.S
modified: src/stub/src/i386-bsd.elf.execve-entry.S
modified: src/stub/src/i386-linux.elf.execve-entry.S
plus stub/*.h, *.dump
Notable:
modified: src/stub/i386-dos32.djgpp2.h
modified: src/stub/i386-dos32.tmt.h
modified: src/stub/i386-dos32.watcom.le.h
modified: src/stub/i386-win32.pe.h
2024-05-01 10:09:52 -07:00
John Reiser
4562d5459d
Some non-ELF --lzma stubs assumed only one block, and <= 0.5MiB
...
Fixed for p_lx_exc.cpp; others remain a mystery.
https://github.com/upx/upx/issues/816
2024-05-01 10:09:52 -07:00
Markus F.X.J. Oberhumer
8393ded1b3
CI updates
2024-05-01 13:11:12 +02:00
Markus F.X.J. Oberhumer
b0dc483165
CI updates
2024-04-29 07:53:21 +02:00
Markus F.X.J. Oberhumer
3c0ca81311
CI updates
2024-04-29 06:24:45 +02:00
Markus F.X.J. Oberhumer
157a63a023
CI updates
2024-04-28 22:18:47 +02:00
John Reiser
80e22a7e38
Fix --preserve-build-id
...
https://github.com/upx/upx/issues/815
modified: p_lx_elf.cpp
2024-04-27 08:21:48 -07:00
Markus F.X.J. Oberhumer
ddf2da3d76
cmake: run tests in parallel; misc/podman: add 30-rebuild-stubs.sh
2024-04-26 10:36:01 +02:00