Markus F.X.J. Oberhumer
996ca8d17d
all: welcome 2025
2025-01-17 21:18:55 +01:00
John Reiser
f7f08be312
get_te64_32() fetches 64 bits, checks and returns 32
...
modified: packer.h
2024-12-03 10:28:01 -08:00
John Reiser
abced6720b
clang-format {silly)
...
modified: packer.h
2024-12-02 08:08:51 -08:00
John Reiser
88cd02d750
get_te64_32() gets 4-bit value, then detects 32-bit overflow
...
modified: packer.h
2024-11-25 10:45:54 -08:00
Markus F.X.J. Oberhumer
ada9081ea2
CI updates
2024-07-28 18:01:54 +02:00
Markus F.X.J. Oberhumer
3c294d9721
all: minor cleanups
2024-06-14 15:15:55 +02:00
Markus F.X.J. Oberhumer
3495d1affd
all: minor cleanups
2024-05-28 10:26:39 +02: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
f0cb30e2b9
all: minor cleanups
2024-05-02 18:50:23 +02:00
Markus F.X.J. Oberhumer
a27a9e6000
all: and yet more cleanups; NFCI
2024-03-25 11:07:40 +01:00
Markus F.X.J. Oberhumer
718ec468ff
all: more assorted cleanups; NFCI
2024-02-02 10:17:16 +01:00
Markus F.X.J. Oberhumer
47fc230893
all: welcome 2024
2024-01-03 17:47:25 +01:00
Markus F.X.J. Oberhumer
0500e7d016
CI updates; cxxlib.h cleanups
2023-12-28 04:42:41 +01:00
Markus F.X.J. Oberhumer
bf8dd31914
all: minor cleanups
2023-11-21 20:29:54 +01:00
Markus F.X.J. Oberhumer
06675acc67
all: cosmetic cleanups
2023-09-18 15:19:37 +02:00
Markus F.X.J. Oberhumer
25a3c109c1
CI updates
2023-08-27 13:30:51 +02:00
Markus F.X.J. Oberhumer
394cd77bec
all: cleanups
2023-08-16 01:06:52 +02:00
Markus F.X.J. Oberhumer
a9ac4b5e23
src: introduce type tribool
2023-08-15 14:44:50 +02:00
Markus F.X.J. Oberhumer
10e759f1f1
src: minor cleanups
2023-08-11 13:32:53 +02:00
Markus F.X.J. Oberhumer
777d4f5279
src: refactoring: create packhead.h and move some methods
2023-08-11 03:57:20 +02:00
Markus F.X.J. Oberhumer
c65c882ecc
src: class Packer decomposition, introduce PackerBase
2023-08-10 20:40:27 +02:00
Markus F.X.J. Oberhumer
fa364d6ea3
all: final cleanups in preparation for release
2023-08-03 14:20:35 +02:00
Markus F.X.J. Oberhumer
828f4a63bf
src: add some "explicit"; cleanups
2023-07-16 07:37:31 +02:00
Markus F.X.J. Oberhumer
8d41ae09c8
all: misc updates
2023-07-12 18:59:08 +02:00
Markus F.X.J. Oberhumer
7ec0faca1e
all: misc and noexcept updates
2023-07-09 17:36:24 +02:00
Markus F.X.J. Oberhumer
5d2c74008e
all: cmake and noexcept updates
2023-06-23 14:13:08 +02:00
Markus F.X.J. Oberhumer
19e84fea62
all: yet more minor updates
2023-06-09 14:12:05 +02:00
Markus F.X.J. Oberhumer
b3e4efbabe
all: misc updates
2023-05-13 16:28:44 +02:00
Markus F.X.J. Oberhumer
726f5de778
src: minor cleanups
2023-04-26 08:13:32 +02:00
Markus F.X.J. Oberhumer
9e3b1c9f8a
src: enable TE checks in packer.h; add some "noexcept"
2023-04-18 17:56:28 +02:00
Markus F.X.J. Oberhumer
320e5b850f
all: yet more cleanups
...
Changes include:
- use standard names for PE constants
- add some more "noexcept"
- improve upx_is_integral type-trait
- introduce is_same_all and is_same_any type-traits
- prepare TE-size checks in packer.h
- CI updates
2023-04-18 17:02:13 +02:00
Markus F.X.J. Oberhumer
a627648249
all: assorted cleanups and updates
...
Changes include:
- add a bunch of "noexcept", mostly to operators and forceinline
- use "uchar"
- use "charptr"
- rename options_t to Options
- add ptr_check_no_overlap()
- rewrite p_exe.cpp, NFCI
- clang-format help.cpp
- spelling fixes
2023-03-15 00:19:55 +01:00
Markus F.X.J. Oberhumer
e1edc5f50a
src: use 'byte' instead of 'upx_byte'; NFCI
2023-02-21 19:27:23 +01:00
Markus F.X.J. Oberhumer
4a8efd2e2f
src: rework optimizeReloc handling; cleanups
2023-02-21 15:19:24 +01:00
Markus F.X.J. Oberhumer
b8d9c2b755
all: assorted updates and cleanups
2023-02-05 17:20:32 +01:00
Markus F.X.J. Oberhumer
0653bb5a72
src: some xspan cleanups
2023-01-30 11:03:11 +01:00
John Reiser
39442e6282
initLoader() 4th parameter allows larger output size
...
modified: packer.cpp
modified: packer.h
2023-01-05 15:28:12 -08:00
Markus F.X.J. Oberhumer
dd1d5a92d2
all: welcome 2023
2023-01-01 19:49:30 +01:00
Markus F.X.J. Oberhumer
16de3e78a5
src: try to fix canUnpack() confusion - see packer.h
2022-11-10 06:00:53 +01:00
John Reiser
a13b4d10d9
After upx-3.96, the de-compressing stub for ELF moved
...
... so unpack() of newly-compressed ELF by upx-3.96 now says
"CantUnpackException: need a newer version of UPX"
https://github.com/upx/upx/issues/595
modified: p_lx_elf.h
modified: packer.h
2022-09-27 18:09:20 +02:00
Markus F.X.J. Oberhumer
c75d7a685d
src: major cleanups, introduce new eXtended Span class
...
- initial minimally invasive eXtended Span implementation
- rename ptr_diff to ptr_diff_bytes
- move some files to util subdir
- lots of cleanups
- start using the new checked pointers - this needs some real-world testing
2022-09-16 13:26:13 +02:00
Markus F.X.J. Oberhumer
d001a63bce
Welcome 2022.
2022-09-04 04:24:39 +02:00
Markus F.X.J. Oberhumer
5f9c50cd3e
clang-format
2022-08-10 23:29:43 +02:00
John Reiser
e7ca5c54ff
Fix --brute for p_lx_elf.cpp, which compresses multiple pieces
...
Force all pieces to use the same de-compressor.
(Future: allow each PT_LOAD to choose its own.)
Has minor wobbles due to page alignment, and size of de-compressor.
64-bit only for now.
https://github.com/upx/upx/issues/570
https://github.com/upx/upx/issues/297
modified: p_lx_elf.cpp
modified: p_unix.cpp
modified: packer.cpp
modified: packer.h
2022-03-22 11:46:25 -07:00
John Reiser
663d6b466b
WIP: clarify compressWithFilters; reduce size of obuf for PackLinuxElf64
...
modified: p_lx_elf.cpp
modified: packer.cpp
modified: packer.h
2022-03-21 13:49:46 -07:00
John Reiser
2e64a277f8
Fix headway during optimizeReloc()
...
Later: "Assertion `(soxrelocs == 0) == !has_oxrelocs' failed."
https://github.com/upx/upx/issues/552
modified: packer.cpp
modified: packer.h
modified: pefile.cpp
2021-12-31 10:27:58 -08:00
John Reiser
ea567a8b14
Check when optimizeRelocs()
...
https://github.com/upx/upx/issues/513
modified: packer.h
modified: packer.cpp
modified: pefile.cpp
modified: p_wcle.cpp
modified: p_tmt.cpp
2021-12-29 16:57:52 -08:00
Markus F.X.J. Oberhumer
f6ff5a2805
Cleanups: start working on -Wsuggest-override, add some "final". NFCI.
2021-03-28 21:19:29 +02:00
John Reiser
23f63e4196
WIP unpacking ELF shared library
...
modified: Makefile
modified: lzma-sdk
modified: p_lx_elf.cpp
modified: p_lx_elf.h
modified: p_mach.cpp
modified: p_unix.cpp
modified: p_unix.h
modified: packer.cpp
modified: packer.h
modified: stub/arm64-linux.elf-fold.h
modified: stub/src/arm64-linux.elf-fold.S
modified: stub/tmp/arm64-linux.elf-fold.map
2021-01-15 14:11:09 -08:00
Markus F.X.J. Oberhumer
d86d5314ba
Modernize libc usage: more cleanups.
2021-01-05 22:03:29 +01:00