John Reiser
308d2b30f9
Merge pull request #362 from bitraid/disable-strip-reloc-unpack
...
Don't use --strip-reloc with -d
2020-05-25 07:54:33 -07:00
Markus F.X.J. Oberhumer
78c3f58f50
Use "python2" instead of "python".
2020-05-23 20:24:48 +02:00
John Reiser
a3594698e2
uintptr_t for MSVC
...
modified: p_lx_elf.cpp
2020-05-23 11:02:46 -07:00
John Reiser
3d87b34754
invert_pt_dynamic() more checking
...
https://github.com/upx/upx/issues/378
https://github.com/upx/upx/issues/379
modified: p_lx_elf.cpp
2020-05-23 10:51:03 -07:00
John Reiser
da37435384
More checking of DT_GNU_HASH and DT_HASH tables
...
https://github.com/upx/upx/issues/381
modified: p_lx_elf.cpp
2020-05-23 10:04:38 -07:00
John Reiser
c8386ee47d
More checking of DT_GNU_HASH and DT_HASH tables
...
https://github.com/upx/upx/issues/380
modified: p_lx_elf.cpp
2020-05-23 09:41:41 -07:00
John Reiser
c6b9e3c62d
max_bucket versus symbias
...
modified: p_lx_elf.cpp
2020-04-17 17:09:47 -07:00
John Reiser
274092380f
DT_GNU_HASH check the buckets
...
https://github.com/upx/upx/issues/365
modified: p_lx_elf.cpp
2020-04-17 16:49:54 -07:00
John Reiser
dadfd43ecb
--preserve-build-id for ET_EXEC
...
https://github.com/upx/upx/issues/371
modified: p_lx_elf.cpp
2020-04-17 16:17:29 -07:00
John Reiser
60f19b72e0
invert_pt_dynamic() DT_GNU_HASH trims hash array for Rust and Android
...
https://github.com/upx/upx/issues/369
modified: p_lx_elf.cpp
2020-04-15 17:29:03 -07:00
John Reiser
81944f3211
check_pt_dynamic() checks PT_DYNAMIC.p_memsz
...
https://github.com/upx/upx/issues/368
modified: p_lx_elf.cpp
2020-04-15 14:24:05 -07:00
John Reiser
6f1eec780e
unpack() checks PT_DYNAMIC.p_filesz
...
https://github.com/upx/upx/issues/367
modified: p_lx_elf.cpp
2020-04-15 14:12:06 -07:00
John Reiser
67955bd2ee
More checking .e_shstrndx
...
https://github.com/upx/upx/issues/366
modified: p_vmlinx.cpp
2020-04-15 13:44:35 -07:00
John Reiser
910090e497
getElfSections concentrates on _Shdr[.e_shstrndx]
...
https://github.com/upx/upx/issues/363
modified: p_vmlinx.cpp
2020-04-15 13:29:01 -07:00
John Reiser
b536d35471
WIP but should concentrate on section .e_shstrndx instead.
...
modified: p_vmlinx.cpp
2020-04-15 13:13:45 -07:00
John Reiser
294ed1b4ba
More bounds checking for DT_INIT (etc.) in shlib
...
https://github.com/upx/upx/issues/364
modified: p_lx_elf.cpp
2020-04-13 17:08:49 -07:00
bitraid
179f4b3439
Don't use --strip-reloc with -d
...
Always restore the relocation section of Portable Executables on
unpacking, if it exists in the compressed image.
2020-04-13 21:38:22 +03:00
John Reiser
cfa7d1e497
Merge pull request #361 from bitraid/fix-pe-aslr-unpack
...
Fix unpacking of ASLR enabled PE files
2020-04-12 09:51:51 -07:00
bitraid
fc3d27195d
Fix unpacking of ASLR enabled PE files
2020-04-12 03:19:57 +03:00
John Reiser
b72eac69a5
ELF shared lib: PT_DYNAMIC might be below xct_off, such as MIPS
...
https://github.com/upx/upx/issues/298
modified: p_lx_elf.cpp
2020-02-15 15:04:44 -08:00
John Reiser
4fb1d41be8
MIPS stub mprotect() suffered from [non-]inlining.
...
https://github.com/upx/upx/issues/342
https://github.com/upx/upx/issues/339
modified: src/stub/src/include/linux.h
consequences:
modified: .github/travis_testsuite_1-expected_sha256sums.sh
modified: src/stub/mips.r3000-linux.elf-fold.h
modified: src/stub/mipsel.r3000-linux.elf-fold.h
modified: src/stub/tmp/mips.r3000-linux.elf-fold.map
modified: src/stub/tmp/mipsel.r3000-linux.elf-fold.map
2020-02-08 19:55:08 -08:00
Markus F.X.J. Oberhumer
d53376d672
Use new ASCII art logo.
2020-01-23 00:21:44 +01:00
Jonas Zeitler
8cad78f3b4
fix kerning on ascii art logo
2020-01-23 00:11:28 +01:00
Markus F.X.J. Oberhumer
35fbb1ecb6
Update testsuite checksums caused by version bump.
2020-01-22 23:26:41 +01:00
Markus F.X.J. Oberhumer
c63a71ad42
Prepare for switch to semantic versioning.
2020-01-22 23:24:00 +01:00
Markus F.X.J. Oberhumer
f33645f739
Post-release version bump.
2020-01-22 23:11:13 +01:00
Markus F.X.J. Oberhumer
d7ba31cab8
Bump release date.
v3.96
2020-01-22 22:29:58 +01:00
John Reiser
342b1b7d6c
EM_PPC64 forgot get_te16(&...) for ehdri.e_machine
...
So compression on big-endian host was not correct.
https://github.com/upx/upx/issues/334
modified: p_lx_elf.cpp
2020-01-19 18:48:50 -08:00
John Reiser
936013f60c
Decompression escape hatch for ELF can require a new page.
...
If not enough room on last page of .text, and ElfXX_Ehdr not PF_X,
then the escape hatch must use a new page.
https://github.com/upx/upx/issues/308
modified: ../.github/travis_testsuite_1-expected_sha256sums.sh
modified: stub/src/amd64-linux.elf-main.c
modified: stub/src/i386-linux.elf-main.c
Plus stub/*-linux.elf-fold.h and stub/tmp/*-linux.elf-fold.map
2020-01-19 13:25:55 -08:00
Markus F.X.J. Oberhumer
fdf2eddc73
Update Travis.
2020-01-16 13:38:30 +01:00
Markus F.X.J. Oberhumer
4409753014
Update Travis.
2020-01-16 01:54:41 +01:00
Markus F.X.J. Oberhumer
9172ae3d19
New ACC version.
2020-01-16 01:53:55 +01:00
John Reiser
e2f60adc95
Detect 0==DT_SYMTAB in invert_pt_dynamic()
...
https://github.com/upx/upx/issues/333
modified: p_lx_elf.cpp
2020-01-14 18:45:52 -08:00
John Reiser
1bb93d4fce
Detect bad e_shstrtab better.
...
https://github.com/upx/upx/issues/332
modified: p_lx_elf.cpp
2020-01-13 17:26:31 -08:00
John Reiser
eb90eab632
Detect bogus DT_SYMENT.
...
https://github.com/upx/upx/issues/331
modified: p_lx_elf.cpp
2020-01-13 17:10:02 -08:00
Markus F.X.J. Oberhumer
0f4975fd7f
Update Travis.
2020-01-08 17:30:03 +01:00
Markus F.X.J. Oberhumer
b5b1f06a11
Avoid some compilation warnings.
2020-01-08 06:04:21 +01:00
Markus F.X.J. Oberhumer
86f8eb0930
Fix shadowing global symbols.
2020-01-08 05:44:06 +01:00
Markus F.X.J. Oberhumer
91ad0e7572
Revert "Cleanup legacy symbols: basename, index"
...
This reverts commit 47ddace96a .
2020-01-08 05:41:56 +01:00
Markus F.X.J. Oberhumer
b034ee98fe
Revert "Mention --assume-execute-permission"
...
This reverts commit 29fa358077 .
2020-01-08 05:40:40 +01:00
Markus F.X.J. Oberhumer
ded07f8781
Revert "MSVC lacks S_IXUSR"
...
This reverts commit 62a07df45e .
2020-01-08 05:38:44 +01:00
Markus F.X.J. Oberhumer
849bdd87e1
Revert "Option --assume-execute-permission"
...
This reverts commit 4484acf9d6 .
2020-01-08 05:38:19 +01:00
Markus F.X.J. Oberhumer
643e48efd7
Update Travis.
2020-01-08 05:18:43 +01:00
Markus F.X.J. Oberhumer
92f072cf70
Silence some compiler warnings.
2020-01-08 04:49:27 +01:00
Markus F.X.J. Oberhumer
95bf2e2e41
Update testsuite checksums caused by version date bump.
2020-01-08 04:37:59 +01:00
Markus F.X.J. Oberhumer
6a6c6d84eb
Rebuild stubs.
2020-01-08 04:30:08 +01:00
Markus F.X.J. Oberhumer
08a689c81e
Bump tentative release date.
2020-01-08 04:21:30 +01:00
Markus F.X.J. Oberhumer
d1174385ef
Welcome 2020.
2020-01-08 04:13:28 +01:00
John Reiser
cb5f590e10
More hacking Android shlib.
...
https://github.com/upx/upx/issues/318
modified: p_elf_enum.h
modified: p_lx_elf.cpp
2019-12-12 20:23:33 -08:00
John Reiser
5ed9c66ed9
Hack Android shared libraries on arm64.
...
https://github.com/upx/upx/issues/318
modified: p_lx_elf.cpp
2019-12-12 17:05:50 -08:00