Markus F.X.J. Oberhumer
8795f60bf1
vmlinux: use template types throughout.
2006-12-19 11:06:58 +01:00
John Reiser
4c068e3e00
PackVmlinuxBase::canPack(); templates are fun!
2006-12-18 22:55:38 -08:00
John Reiser
277d862172
PackVmlinuxBase try template definitions in .cpp file
2006-12-18 20:17:10 -08:00
John Reiser
dbed6a47bb
PackVmlinuxBase use simple templates
2006-12-18 20:08:24 -08:00
Markus F.X.J. Oberhumer
94f3749784
vmlinux refactoring: move destructor into PackVmlinuxBase.
2006-12-19 00:48:38 +01:00
Markus F.X.J. Oberhumer
728e6d851e
Introduce ElfClass and PackVmlinuxBase for refactoring elf based packers.
2006-12-19 00:37:35 +01:00
Markus F.X.J. Oberhumer
11e863545f
Strip trailing whitespace.
2006-12-18 16:56:14 +01:00
John Reiser
e43e3aeb1c
arm-linux.kernel documentation update for Debian on nslu2
2006-12-17 18:49:38 -08:00
John Reiser
a8fe529814
arm-linux.kernel preserve .e_flags
2006-12-17 17:39:47 -08:00
John Reiser
d9f5e2bb08
arm-linux.kernel alignment fix
2006-12-17 16:34:21 -08:00
John Reiser
dfa83b0ac8
arm-linux.kernel methods
2006-12-17 15:34:13 -08:00
John Reiser
bd5cef1411
unfilter for arm-linux.kernel
2006-12-17 14:53:10 -08:00
John Reiser
c5cfb7eb40
more arm-linux.kernel work
2006-12-16 22:02:51 -08:00
John Reiser
bccaafda6d
arm-linux stub interfacing for lzma
2006-12-16 17:16:32 -08:00
John Reiser
bf0086d7b5
arm-linux.kernel decompressor
2006-12-16 14:52:22 -08:00
John Reiser
112eff2509
add UPX_F_VMLINUX_AMD64, UPX_F_VMLINUX_ARM
2006-12-16 08:13:34 -08: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
f2b9dff596
More work so that watom/le now uses compressWithFilters().
2006-12-06 11:08:32 +01:00
Markus F.X.J. Oberhumer
8875470b37
Refactored compressWithFilters().
2006-12-06 07:27:23 +01:00
Markus F.X.J. Oberhumer
2ced230965
Updated packers to use new stub names.
2006-11-21 03:40:11 +01:00
Markus F.X.J. Oberhumer
a6cb6f57d3
Introduce Packer::relocateLoader(). This is the first step of finally getting
...
rid of all Packer::patchXXX() methods.
2006-11-20 18:10:23 +01:00
Markus F.X.J. Oberhumer
05d03f97fc
Introduce Packer::bele.
2006-11-20 12:01:59 +01:00
Markus F.X.J. Oberhumer
c73da864c8
Avoid -Wshadow warnings.
2006-11-16 20:14:14 +01:00
Markus F.X.J. Oberhumer
be235ddc38
Removed unused Packer::freezeLoader(). Changed return type of
...
buildLoader() from "int" to "void".
2006-11-12 20:57:08 +01:00
John Reiser
4442a282e1
fix filename in #includ
2006-10-16 10:52:57 -07:00
John Reiser
261010f23d
fix comment
2006-10-16 06:12:58 -07:00
John Reiser
452a953234
vmlinux/386 check for __ksymtab; fix unpack
2006-10-15 14:51:02 -07:00
John Reiser
6891bc3da3
vmlinux/i386: fix filters, 0x400000 start, integration with kernel build
2006-10-14 14:52:30 -07:00
László Molnár
4500c1d1a4
lzma should be working again for most of the i386 formats
2006-07-18 13:44:44 +02:00
John Reiser
709fb93a22
sizeof(shstrtab) already includes terminating '\0'
2006-07-05 05:40:24 -07:00
László Molnár
f0d5a6ebac
vmlinu[xz] using nrv2e converted to ElfLinker
2006-07-04 17:36:54 +02:00
Markus F.X.J. Oberhumer
b983e29fb0
Fix compilation on big endian machines. Remove trailing whitespace.
2006-07-03 01:40:59 +02:00
Markus F.X.J. Oberhumer
c0d4741f88
Merge.
2006-06-29 18:43:36 +02:00
John Reiser
1d72a7df99
propagate IMAGE_OFFSET from commandline
2006-06-29 05:57:28 -07:00
Markus F.X.J. Oberhumer
8882192fac
Minor cleanups.
2006-06-29 14:38:18 +02:00
John Reiser
193e085cf0
limit stack to ~28KB for decompressing kernel
2006-06-28 22:30:05 -07:00
John Reiser
ba19ccac43
tabify the commented Makefile
2006-06-28 22:18:48 -07:00
John Reiser
67e09fb342
kernel Makefile; fix cross-platform endian trouble
2006-06-28 19:44:02 -07:00
Markus F.X.J. Oberhumer
bf5cbfffc2
Start major refactoring.
2006-06-19 19:20:50 +02:00
Markus F.X.J. Oberhumer
db43910288
Enter 2006.
2006-06-16 15:17:29 +02:00
Markus F.X.J. Oberhumer
d3323d6550
Major refactoring of src/stub directory.
2006-06-15 08:17:50 +02:00
Markus F.X.J. Oberhumer
c33584e683
Detabified.
...
committer: mfx <mfx> 1126929315 +0000
2005-09-17 03:55:15 +00:00
Markus F.X.J. Oberhumer
232754b978
Removed trailing whitespace.
...
committer: mfx <mfx> 1109669261 +0000
2005-03-01 09:27:41 +00:00
Markus F.X.J. Oberhumer
75ef603308
Linker updates from Laszlo. Needs some testing.
...
committer: mfx <mfx> 1109669078 +0000
2005-03-01 09:24:38 +00:00
John Reiser
664a82e7c9
Start re-organizing the packing of Elf, by making Elf32 come first,
...
with Big endian and Little endian derived from it.
I386 still uses the old way, but PowerPC (both Linux and Darwin [Mac])
use the new way.
p_elf.h p_lx_elf.cpp p_lx_elf.h p_lx_exc.cpp p_lx_exc.h
p_unix.cpp p_unix.h p_vmlinx.cpp p_vmlinx.h p_vmlinz.cpp
committer: jreiser <jreiser> 1108940224 +0000
2005-02-20 22:57:04 +00:00
John Reiser
36b852e6bf
%cs at entry to decompressor varies a _lot_ among Linux 2.4.x, 2.6.y kernels.
...
Decompressor must adapt; no universal constants exist for __BOOT_CS, _BOOT_DS.
p_vmlinx.cpp stub/l_vmlinz.asm
committer: jreiser <jreiser> 1103605278 +0000
2004-12-21 05:01:18 +00:00
John Reiser
f0c21c7203
Enhance documentation for process flow and testing.
...
Include some notes for compressing kernels from Linux 2.4.x.
committer: jreiser <jreiser> 1103513947 +0000
2004-12-20 03:39:07 +00:00
John Reiser
1418f57b96
Fix bugs between Filter.addvalue and ckt32 macro call: [re-]compressed
...
Linux kernels were not booting. Explain .addvalue better.
Set kernel stack pointer for boot-time decompression according to
Linux kernel documentation.
p_vmlinx.cpp p_vmlinz.cpp
stub/l_vmlinx.asm stub/l_vmlinz.asm
filter/cto.h filter/ctoj.h filter/ctok.h
committer: jreiser <jreiser> 1103326936 +0000
2004-12-17 23:42:16 +00:00
Markus F.X.J. Oberhumer
814eabb88e
Final updates for upx 1.92.
...
committer: mfx <mfx> 1090281040 +0000
2004-07-19 23:50:40 +00:00
Markus F.X.J. Oberhumer
8204c7deb6
Small portability fixes.
...
committer: mfx <mfx> 1090256008 +0000
2004-07-19 16:53:28 +00:00