Markus F.X.J. Oberhumer
641b116f04
Update .gitattributes.
2023-07-25 12:18:33 +02:00
Markus F.X.J. Oberhumer
8d41ae09c8
all: misc updates
2023-07-12 18:59:08 +02:00
Markus F.X.J. Oberhumer
1aaa33552e
all: move testsuite to misc/testsuite; CI updates
2023-06-27 14:27:19 +02:00
Markus F.X.J. Oberhumer
d1af2af499
all: yet more misc updates
2023-06-15 19:42:54 +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
b8d9c2b755
all: assorted updates and cleanups
2023-02-05 17:20:32 +01:00
Markus F.X.J. Oberhumer
3fa18c1799
src: clang-format pefile
2023-01-29 12:34:05 +01:00
Markus F.X.J. Oberhumer
5056215a1f
all: more assorted cleanups
2023-01-29 11:39:57 +01:00
Markus F.X.J. Oberhumer
6c41a4c9c8
src: move compress files into a subdir; clang-format some more files; NFC
2023-01-18 09:28:12 +01:00
Markus F.X.J. Oberhumer
cc994326a0
all: cleanups
2023-01-15 13:49:27 +01:00
Markus F.X.J. Oberhumer
513b00a30e
cmake: update for MSVC_IDE
2023-01-05 14:26:17 +01:00
Markus F.X.J. Oberhumer
33dc60df26
all: minor cleanups
2022-12-31 21:08:58 +01:00
Markus F.X.J. Oberhumer
0b47e474a7
make: update src/Makefile
2022-12-22 15:52:50 +01:00
Markus F.X.J. Oberhumer
65a2da4b40
src: more clang-format
2022-11-27 22:03:20 +01:00
Markus F.X.J. Oberhumer
9da4f7a6dc
src: clang-format more files; cleanups; NFCI
2022-11-27 12:34:15 +01:00
Markus F.X.J. Oberhumer
9f5d67e27c
src: clang-format various packers
2022-11-26 17:45:25 +01:00
Markus F.X.J. Oberhumer
93c6496ba8
src: add a xspan check to p_tmt.cpp and clang-format
2022-11-24 09:11:25 +01:00
Markus F.X.J. Oberhumer
eb231b65f3
src: clang-format compress_*.cpp; minor cleanup
2022-11-14 11:35:13 +01:00
Markus F.X.J. Oberhumer
2d74298001
make: update Makefiles
2022-11-08 03:52:43 +01:00
Markus F.X.J. Oberhumer
e5c0d998b7
src: fully deprecate src/Makefile; minor doc and CI cleanups
2022-10-25 01:48:45 +02:00
Markus F.X.J. Oberhumer
f57393c0e8
all: simplify include path handling; update src/Makefile
2022-10-24 12:56:35 +02:00
Markus F.X.J. Oberhumer
7398d8f68f
src: enable -Wsuggest-override in src/conf.h
2022-09-27 18:17:28 +02:00
John Reiser
ec33109b22
clang-10 requires the use of 'override'
...
Discovered during gitlab auto-build for https://github.com/upx/upx/issues/595
modified: Makefile
modified: p_armpe.h
modified: p_djgpp2.h
modified: p_lx_elf.h
modified: p_lx_exc.h
modified: p_lx_interp.h
modified: p_lx_sh.h
modified: p_mach.h
modified: p_ps1.h
modified: p_tmt.h
modified: p_unix.h
modified: p_vmlinx.h
modified: p_vmlinz.h
modified: p_w32pe.h
modified: p_w64pep.h
modified: pefile.h
2022-09-27 18:15:48 +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
4318cc22ee
src: cleanup option handling, add testcases; fixes #587
2022-09-16 13:26:13 +02:00
Markus F.X.J. Oberhumer
c69fcfff9d
src: doctest: start work on using doctest
2022-09-16 13:26:13 +02:00
Markus F.X.J. Oberhumer
45e6e73d85
misc: move some scripts from src/stub/scripts to misc/scripts
2022-09-16 13:26:13 +02:00
Markus F.X.J. Oberhumer
be30c26dbb
make: update src/Makefile
2022-09-16 13:26:13 +02:00
Markus F.X.J. Oberhumer
d001a63bce
Welcome 2022.
2022-09-04 04:24:39 +02:00
Kirill A. Korinsky
248a6980cf
Revert -std=c++14
...
This commit reverts 648fa30f22
which was removed by d60c46371d
which is fixed https://github.com/upx/upx/issues/440
2021-11-27 13:22:54 +01: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
cb60603950
Turn off BUILD_TYPE_DEBUG to enable CI build amd64-win64-gcc-9 to pass.
...
modified: Makefile
2021-03-07 09:33:16 -08:00
John Reiser
fd6837b267
Another checkAlreadyPacked()
...
https://github.com/upx/upx/issues/463
modified: Makefile
modified: p_mach.cpp
2021-02-26 15:15:28 -08:00
John Reiser
1c29f921e0
getSizeForCompression worst cases
...
https://github.com/upx/upx/issues/463
modified: Makefile
modified: mem.cpp
2021-02-25 20:04:16 -08:00
Markus F.X.J. Oberhumer
2575eef3c0
clang-format more files.
...
"Gofmt's style is nobody's favourite, but gofmt is everybody's favourite."
- Rob Pike
2021-01-04 20:26:31 +01:00
Markus F.X.J. Oberhumer
adcd569852
Makefile: update default sanitizer flags.
2021-01-04 17:20:06 +01:00
Markus F.X.J. Oberhumer
baa1ed9be3
Update CI to use lastest zlib. Update Makefile.
2021-01-01 23:24:31 +01:00
Markus F.X.J. Oberhumer
9131d5216f
Welcome 2021.
2021-01-01 20:39:22 +01:00
Markus F.X.J. Oberhumer
fb14a7991d
Fix Makefile breakage in previous commit.
2020-12-15 02:15:34 +01:00
Markus F.X.J. Oberhumer
49245a20c5
Update Makefile and compiler checks so that users don't inadvertently
...
change mandatory compiler flags.
2020-12-14 20:53:54 +01:00
John Reiser
63dc19ce25
-std=c++14
...
modified: Makefile
2020-12-11 11:38:38 -08:00
Markus F.X.J. Oberhumer
7b0b760d78
src/Makefile: add -Wsign-compare to warning flags to better match MSVC.
2020-12-07 23:04:37 +01:00
Markus F.X.J. Oberhumer
dd164fbc86
Undo Makefile change in 9b0f523d00
.
2020-12-03 18:16:11 +01:00
John Reiser
926481dace
ELF layout for page holes when runtime PAGE_SIZE < .p_align
...
amd64 works
modified: p_lx_elf.cpp
modified: stub/src/amd64-linux.elf-entry.S
modified: stub/src/amd64-linux.elf-fold.S
modified: stub/src/amd64-linux.elf-main.c
modified: Makefile
modified: stub/amd64-linux.elf-entry.h
modified: stub/amd64-linux.elf-fold.h
modified: stub/amd64-linux.shlib-init.h
modified: stub/arm64-linux.elf-fold.h
modified: stub/powerpc64-linux.elf-fold.h
modified: stub/powerpc64le-linux.elf-fold.h
modified: stub/src/amd64-linux.shlib-init.S
modified: stub/tmp/amd64-linux.elf-entry.bin.dump
modified: stub/tmp/amd64-linux.elf-fold.map
modified: stub/tmp/amd64-linux.shlib-init.bin.dump
modified: stub/tmp/arm64-linux.elf-fold.map
modified: stub/tmp/powerpc64-linux.elf-fold.map
modified: stub/tmp/powerpc64le-linux.elf-fold.map
2020-05-09 08:05:05 -07:00
Markus F.X.J. Oberhumer
d1174385ef
Welcome 2020.
2020-01-08 04:13:28 +01:00
John Reiser
75a2cc4ecb
Sync testsuite (amd64, 32-bit ARM, 64-bit ARM)
...
modified: ../.github/travis_testsuite_1-expected_sha256sums.sh
modified: Makefile
2019-10-27 21:56:30 -07:00
Markus F.X.J. Oberhumer
3667fa4e44
Welcome 2019.
2019-02-15 11:04:09 +01:00
Markus F.X.J. Oberhumer
021c8db58a
Welcome 2018.
2018-01-19 10:55:32 +01:00
Markus F.X.J. Oberhumer
33dc947c21
clang-format files.
2017-07-22 12:47:45 +02:00