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
John Reiser
26d8e9c4c5
amd64-linux revamp for compressing shared libraries
...
Major changes: p_lx_elf.cpp and stub/src/amd64-linux.elf-so*.
(Includes run-time infrastructure for multiple de-compressors.)
modified: linker.cpp
modified: p_lx_elf.cpp
modified: p_lx_elf.h
modified: p_unix.cpp
modified: p_unix.h
modified: stub/Makefile
modified: stub/src/amd64-darwin.dylib-entry.S
modified: stub/src/amd64-darwin.macho-entry.S
new file: stub/src/amd64-expand.S
modified: stub/src/amd64-linux.elf-entry.S
new file: stub/src/amd64-linux.elf-so_entry.S
new file: stub/src/amd64-linux.elf-so_fold.S
new file: stub/src/amd64-linux.elf-so_fold.lds
new file: stub/src/amd64-linux.elf-so_main.c
modified: stub/src/amd64-linux.shlib-init.S
modified: stub/src/amd64-win64.pep.S
modified: stub/src/arch/amd64/nrv2b_d.S
modified: stub/src/arch/amd64/nrv2d_d.S
modified: stub/src/arch/amd64/nrv2e_d.S
plus many generated stub/*.h and stub/tmp/*.bin.dump
2023-01-09 09:39:25 -08:00
John Reiser
ba9118aa58
Bug in unfilter on x86* when region ends in 32-bit displacement.
...
https://github.com/upx/upx/issues/43
modified: stub/src/arch/amd64/bxx.S
modified: stub/src/arch/i386/macros.S
plus all the stubs that use them
2017-01-29 14:01:56 +01:00
John Reiser
448a24cb36
PackVmlinuzI386::getStrategy(), and Bvmlinuz guesses 60% .text;
...
stack for Bvmlinuz uses vacant Vmlinuz low memory (512 KiB)
2008-05-02 04:59:39 -07:00
John Reiser
1c62e95812
Bvmlinuz fix filters
2008-04-26 13:04:13 -07:00
John Reiser
8d1192e832
Bvmlinuz,Vmlinuz make room for largest possible decompression stack
...
by moving kernel command line up, and real mode area down
2008-04-24 12:15:07 -07:00
John Reiser
4a8e2e9ed4
grub-0.97-33.fc9 does not leave enough room for lzma
2008-04-23 16:37:16 -07:00
John Reiser
f12bb3f80d
bvmlinuz must preserve register esi
2008-03-04 15:41:42 -08:00
John Reiser
54d0fef559
BvmlinuzI386 runtime-relocatable kernels
2008-01-29 10:33:45 -08:00
Markus F.X.J. Oberhumer
000309b47f
stub: remove filename from dumps in order reduce diff noise when renaming files.
2007-11-20 06:34:48 +01:00
László Molnár
b2ad4dc9a0
another fix for ctok32
2007-04-02 14:12:16 +02:00
László Molnár
a05ca565ff
fixed a bug in ctok32
2007-04-01 17:07:43 +02:00
Markus F.X.J. Oberhumer
4cee0676a4
Consistently rename section names of ctok32 filter.
2006-12-22 14:22:45 +01:00
Markus F.X.J. Oberhumer
a77b598f82
Implement a micro-optimization which has been on our TODO list for ages:
...
remove "or ebp,-1" when not needed
2006-12-08 09:20:14 +01:00
Markus F.X.J. Oberhumer
36c66d52a6
Added SQUEEZE macro to better canonicalize the dumps.
2006-09-01 02:09:16 +02:00
Markus F.X.J. Oberhumer
ae20e01d2c
Started renaming some loader symbols - now that we have a real
...
linker we really should improve readability and avoid those
old cryptic names.
2006-08-30 00:11:40 +02:00
Markus F.X.J. Oberhumer
d094e8c3fc
Added stub/tmp/*.dump files to the Mercurial repository.
...
These .dump files are embedded in the .h stubs anyway, but we
really want to see some diffs to better understand what has
changed in a commit.
2006-08-30 00:06:47 +02:00