John Reiser
366a708f3a
Generalize to more than 2 PT_LOAD using find_LOAD_gap; needed for linux/ElfAMD.
...
Also simplifies, and applies to both ::pack and ::unpack.
p_lx_elf.cpp p_lx_elf.h
committer: jreiser <jreiser> 1141348876 +0000
2006-03-03 01:21:16 +00:00
John Reiser
70ba662574
Avoid overwrite of obuf when hdr_buf and non-first method.
...
committer: jreiser <jreiser> 1141327368 +0000
2006-03-02 19:22:48 +00:00
John Reiser
b389abd99f
PackLinuxElf64amd::getCompressionMethods allows both nrv2b and nrv2e
...
committer: jreiser <jreiser> 1141326792 +0000
2006-03-02 19:13:12 +00:00
John Reiser
4aa2d14fe3
acknowledge unused results to avoid compiler warnings treated as errors
...
committer: jreiser <jreiser> 1141326721 +0000
2006-03-02 19:12:01 +00:00
John Reiser
af7de75ad4
Allow unfilter when verifyOverlappingDecompression, for convenience
...
in end-to-end checksum.
packer.h packer.cpp p_unix.cpp
committer: jreiser <jreiser> 1141252960 +0000
2006-03-01 22:42:40 +00:00
John Reiser
d461ebbda1
fix packExtent checksums and lengths (of uncompressed data) for 0!=hdr_ulen
...
committer: jreiser <jreiser> 1141241763 +0000
2006-03-01 19:36:03 +00:00
John Reiser
55ef94abcd
8-bit decompressors for ARM; minimize space aggressively
...
arm_nrv2b_d8.S arm_nrv2e_d8.S
committer: jreiser <jreiser> 1140993873 +0000
2006-02-26 22:44:33 +00:00
John Reiser
afaf489d99
save space aggressively
...
committer: jreiser <jreiser> 1140713717 +0000
2006-02-23 16:55:17 +00:00
John Reiser
20e4cbfd13
passes first tests! Only untested feature: large offset which forces
...
minimum match length to be >=3.
arm_nrv2b_d32.S arm_nrv2e_d32.S
committer: jreiser <jreiser> 1140677145 +0000
2006-02-23 06:45:45 +00:00
John Reiser
f3b8c9f34e
debugging
...
committer: jreiser <jreiser> 1140634679 +0000
2006-02-22 18:57:59 +00:00
John Reiser
45e8ff25a5
hand-tuned decompressors for 32-bit NRV on ARM
...
arm_nrv2b_d32.S arm_nrv2e_d32.S
committer: jreiser <jreiser> 1140535945 +0000
2006-02-21 15:32:25 +00:00
John Reiser
268e322e1c
Extra parameter for compressWithFilters and packExtent,
...
to fix 2-pass problem with --brute on linux/elf386.
Only one decompression method is allowed, chosen by
smallest output for .text; but Elf headers come first.
packer.cpp packer.h p_unix.cpp p_unix.h p_lx_elf.cpp
committer: jreiser <jreiser> 1140241030 +0000
2006-02-18 05:37:10 +00:00
Markus F.X.J. Oberhumer
d3bcba6a05
Removed "volatile" from global var "opt" - this was only needed
...
a long time ago to work around problems with ancient C++ compilers.
committer: mfx <mfx> 1140002094 +0000
2006-02-15 11:14:54 +00:00
Markus F.X.J. Oberhumer
cc4ef1944d
Make sure we only touch exactly one page. Update comments.
...
committer: mfx <mfx> 1139928961 +0000
2006-02-14 14:56:01 +00:00
Markus F.X.J. Oberhumer
5aa8486265
Prefer restoring the original protection flags.
...
committer: mfx <mfx> 1139928517 +0000
2006-02-14 14:48:37 +00:00
László Molnár
fd181673cd
a little more comments on the DEP hack stuff
...
committer: ml1050 <ml1050> 1139927444 +0000
2006-02-14 14:30:44 +00:00
László Molnár
62c9547c4e
added some comments on the DEP hack stuff
...
committer: ml1050 <ml1050> 1139918135 +0000
2006-02-14 11:55:35 +00:00
Markus F.X.J. Oberhumer
cdd117bfb9
Rearranged debug options.
...
committer: mfx <mfx> 1139916141 +0000
2006-02-14 11:22:21 +00:00
Markus F.X.J. Oberhumer
304ba57dad
Clear the dirty stack on win32/pe.
...
committer: mfx <mfx> 1139914965 +0000
2006-02-14 11:02:45 +00:00
Markus F.X.J. Oberhumer
69eaaa4177
Revert previous checkin.
...
committer: mfx <mfx> 1139914479 +0000
2006-02-14 10:54:39 +00:00
Markus F.X.J. Oberhumer
452ac52fcb
Added an overloaded addLoader() method.
...
committer: mfx <mfx> 1139913550 +0000
2006-02-14 10:39:10 +00:00
Markus F.X.J. Oberhumer
40cf489290
Avoid possibly clobbering edx.
...
committer: mfx <mfx> 1139881592 +0000
2006-02-14 01:46:32 +00:00
Markus F.X.J. Oberhumer
891d6be4a6
Removed options_t::win32_pe::strip_loadconf.
...
For compatibility reasons the option is still accepted (but
ignored) during commandline parsing.
committer: mfx <mfx> 1139866279 +0000
2006-02-13 21:31:19 +00:00
Markus F.X.J. Oberhumer
5d45ce5cf7
Removed an already fixed item.
...
committer: mfx <mfx> 1139864523 +0000
2006-02-13 21:02:03 +00:00
Markus F.X.J. Oberhumer
a0f2241f3a
Added comment.
...
committer: mfx <mfx> 1139862668 +0000
2006-02-13 20:31:08 +00:00
Markus F.X.J. Oberhumer
aa513bf7d3
Quick fix for the Win32 startup crash. Needs more testing.
...
committer: mfx <mfx> 1139861398 +0000
2006-02-13 20:09:58 +00:00
Markus F.X.J. Oberhumer
b2d65febc8
Small update.
...
committer: mfx <mfx> 1139843847 +0000
2006-02-13 15:17:27 +00:00
Markus F.X.J. Oberhumer
23a6d326e8
Bump tentative release date. Update READMEs.
...
committer: mfx <mfx> 1139840129 +0000
2006-02-13 14:15:29 +00:00
Markus F.X.J. Oberhumer
5b2f1b6d8b
Introduced UPX_VERSION_YEAR.
...
committer: mfx <mfx> 1139826163 +0000
2006-02-13 10:22:43 +00:00
Markus F.X.J. Oberhumer
b4e9ad031b
Break strings so that CVS does not try to expand keywords.
...
committer: mfx <mfx> 1139786765 +0000
2006-02-12 23:26:05 +00:00
Markus F.X.J. Oberhumer
8b7ebcf040
Enter 2006.
...
committer: mfx <mfx> 1139778883 +0000
2006-02-12 21:14:43 +00:00
Markus F.X.J. Oberhumer
af05296631
Made ps1/exe work again.
...
committer: mfx <mfx> 1139776798 +0000
2006-02-12 20:39:58 +00:00
Markus F.X.J. Oberhumer
29d693de2d
New ACC version.
...
committer: mfx <mfx> 1139772863 +0000
2006-02-12 19:34:23 +00:00
Markus F.X.J. Oberhumer
51ac5172f5
#undef PAGE_{MASK,SIZE} to fix build problems on some machines.
...
committer: mfx <mfx> 1139743226 +0000
2006-02-12 11:20:26 +00:00
Markus F.X.J. Oberhumer
f6d1e269d1
Prepare for new release.
...
committer: mfx <mfx> 1139742224 +0000
2006-02-12 11:03:44 +00:00
Markus F.X.J. Oberhumer
62c2f5228d
Rebuilt stubs.
...
committer: mfx <mfx> 1139742130 +0000
2006-02-12 11:02:10 +00:00
Markus F.X.J. Oberhumer
9882d9683b
Updated.
...
committer: mfx <mfx> 1139741935 +0000
2006-02-12 10:58:55 +00:00
Markus F.X.J. Oberhumer
45ce89ee1f
Removed trailing whitespace.
...
committer: mfx <mfx> 1139741919 +0000
2006-02-12 10:58:39 +00:00
László Molnár
a5f79204ce
set use_dep_hack to true
...
committer: ml1050 <ml1050> 1139404812 +0000
2006-02-08 13:20:12 +00:00
László Molnár
e322613d84
workaround added for a msvc runtime "protection"
...
committer: ml1050 <ml1050> 1139393823 +0000
2006-02-08 10:17:03 +00:00
Markus F.X.J. Oberhumer
fbb60f5191
Refactored a new mem_replace() function.
...
committer: mfx <mfx> 1138984802 +0000
2006-02-03 16:40:02 +00:00
Markus F.X.J. Oberhumer
899e7d2f39
Added internal debugging options '--fake-stub-version=X.XX' and
...
'--fake-stub-year=XXXX'.
These might prove useful for building up a test suite which is able to
check binary identity of compressed executables between UPX releases
where the implementation of a specific format has not changed.
committer: mfx <mfx> 1138960010 +0000
2006-02-03 09:46:50 +00:00
László Molnár
8e2aa07747
load config support for win32/pe dlls
...
committer: ml1050 <ml1050> 1138878465 +0000
2006-02-02 11:07:45 +00:00
Markus F.X.J. Oberhumer
a0d262cd76
New ACC version.
...
committer: mfx <mfx> 1138683583 +0000
2006-01-31 04:59:43 +00:00
Markus F.X.J. Oberhumer
b43a7edee4
Preliminary bump some version information.
...
committer: mfx <mfx> 1138080865 +0000
2006-01-24 05:34:25 +00:00
Markus F.X.J. Oberhumer
7760bbd77c
New ACC version.
...
committer: mfx <mfx> 1138080385 +0000
2006-01-24 05:26:25 +00:00
Markus F.X.J. Oberhumer
9c0f1b02a7
Small Makefile updates.
...
committer: mfx <mfx> 1138080320 +0000
2006-01-24 05:25:20 +00:00
Markus F.X.J. Oberhumer
4ecfff4d8d
Print a #define for the _SIZE. Enter 2006. Add John's name.
...
committer: mfx <mfx> 1138080110 +0000
2006-01-24 05:21:50 +00:00
László Molnár
620174aea9
copyright text added
...
committer: ml1050 <ml1050> 1137999649 +0000
2006-01-23 07:00:49 +00:00
Markus F.X.J. Oberhumer
ab50d28bc4
New ACC version.
...
committer: mfx <mfx> 1134926345 +0000
2005-12-18 17:19:05 +00:00
Markus F.X.J. Oberhumer
b5318602d1
Fixed compilation problem.
...
committer: mfx <mfx> 1134926052 +0000
2005-12-18 17:14:12 +00:00
John Reiser
bff2a63ea2
prefetching does not help length of match
...
l_lx_elf64amd.S amd_d_nrv2b.S amd_d_nrv2e.S
committer: jreiser <jreiser> 1132290120 +0000
2005-11-18 05:02:00 +00:00
László Molnár
aacfb8820e
better load_conf directory support. still needs some work.
...
committer: ml1050 <ml1050> 1132077577 +0000
2005-11-15 17:59:37 +00:00
John Reiser
98e8c031d0
generated header files
...
fold_elf64amd.h l_lx_elf64amd.h
committer: jreiser <jreiser> 1131994505 +0000
2005-11-14 18:55:05 +00:00
John Reiser
beb4319d1e
tune for better branch prediction by avoiding more than 3 in a 16-byte block
...
amd_d_nrv2b.S amd_d_nrv2e.S l_lx_elf64amd.S
committer: jreiser <jreiser> 1131994471 +0000
2005-11-14 18:54:31 +00:00
John Reiser
2558243c83
de-tabify; also speculate 1-byte loads to save a cycle or two
...
amd_d_nrv2b.S amd_d_nrv2e.S l_lx_elf64amd.S
committer: jreiser <jreiser> 1131943590 +0000
2005-11-14 04:46:30 +00:00
John Reiser
b670e8d1ac
tuning
...
amd_bxx.S amd_d_nrv2b.S amd_d_nrv2e.S l_lx_elf64amd.S
committer: jreiser <jreiser> 1131939243 +0000
2005-11-14 03:34:03 +00:00
John Reiser
68f8358f06
tune: avoid MOVSB for literals; inline default case of NEXTB macros
...
committer: jreiser <jreiser> 1131923823 +0000
2005-11-13 23:17:03 +00:00
John Reiser
db5a099097
CLD and documentation
...
amd_d_nrv2e.S l_lx_elf64amd.S fold_elf64amd.S
committer: jreiser <jreiser> 1131854052 +0000
2005-11-13 03:54:12 +00:00
John Reiser
ce33ffb62a
handle compressed executables larger than 3MB on Elf64amd
...
committer: jreiser <jreiser> 1131833508 +0000
2005-11-12 22:11:48 +00:00
John Reiser
59a2fb9cfd
recompile generated .h after source changes
...
fold_elf64amd.h l_lx_elf64amd.h
committer: jreiser <jreiser> 1131824699 +0000
2005-11-12 19:44:59 +00:00
John Reiser
75bba319de
tuning, and prepare for large executables (>3MB compressed)
...
p_lx_elf.cpp stub/a_lx_elf64.c stub/amd_d_nrv2e.S
stub/fold_elf64amd.S stub/l_lx_elf64amd.S
committer: jreiser <jreiser> 1131824655 +0000
2005-11-12 19:44:15 +00:00
John Reiser
f78e9261f3
Do initLoader() properly, instead of relying on the amount of stack space
...
that is in use when ::buildLinuxLoader is called.
committer: jreiser <jreiser> 1131597922 +0000
2005-11-10 04:45:22 +00:00
Markus F.X.J. Oberhumer
5f77562333
Cleanup.
...
committer: mfx <mfx> 1131596991 +0000
2005-11-10 04:29:51 +00:00
Markus F.X.J. Oberhumer
5c4f01a68d
New ACC version.
...
committer: mfx <mfx> 1131596966 +0000
2005-11-10 04:29:26 +00:00
Markus F.X.J. Oberhumer
35f6f998e6
Avoid warnings. Detabified.
...
committer: mfx <mfx> 1131593815 +0000
2005-11-10 03:36:55 +00:00
John Reiser
6737a3ae09
PackLinuxElf64amd
...
p_lx_elf.h p_lx_elf.cpp packmast.cpp
committer: jreiser <jreiser> 1131570778 +0000
2005-11-09 21:12:58 +00:00
John Reiser
09559bee8c
Elf64
...
p_unix.h p_elf.h
committer: jreiser <jreiser> 1131570530 +0000
2005-11-09 21:08:50 +00:00
John Reiser
f487ea27a8
UPX_F_LINUX_ELF64_AMD
...
committer: jreiser <jreiser> 1131568333 +0000
2005-11-09 20:32:13 +00:00
John Reiser
a3d95f239a
Generated .h header files for AMD x86_64
...
fold_elf64amd.h l_lx_elf64amd.h
committer: jreiser <jreiser> 1131566912 +0000
2005-11-09 20:08:32 +00:00
John Reiser
023c06e178
Support for 64-bit AMD x86_64
...
Makefile
Added Files:
a_lx_elf64.c amd_bxx.S amd_d_nrv2e.S amd_regs.h
fold_elf64amd.S l_lx_elf64amd.S l_lx_elf64amd.lds
committer: jreiser <jreiser> 1131566835 +0000
2005-11-09 20:07:15 +00:00
John Reiser
414a6c1c9e
Enhance to handle both Elf32 and Elf64, and little/big endian.
...
http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/sstrip/sstrip.c
Revision 11028 [Added Tue Aug 2 18:20:34 2005 PDT (3 months, 1 week ago) by mjn3]
committer: jreiser <jreiser> 1131566192 +0000
2005-11-09 19:56:32 +00:00
John Reiser
910e18fb22
b_method 5th argument to f_decompress
...
l_lx_exec.c l_lx_pti.c l_lx_sep.c l_lx_sh.c
committer: jreiser <jreiser> 1131565060 +0000
2005-11-09 19:37:40 +00:00
John Reiser
ac441fd1cf
definitions for Elf64_*
...
committer: jreiser <jreiser> 1131564732 +0000
2005-11-09 19:32:12 +00:00
John Reiser
0c328372b5
Allow __uClibc_main and __uClibc_start_main like __libc_start_main.
...
committer: jreiser <jreiser> 1127269046 +0000
2005-09-21 02:17:26 +00:00
Markus F.X.J. Oberhumer
55ef60a6d4
Rebuilt with gcc-3.4.4.
...
committer: mfx <mfx> 1127188101 +0000
2005-09-20 03:48:21 +00:00
Markus F.X.J. Oberhumer
c33584e683
Detabified.
...
committer: mfx <mfx> 1126929315 +0000
2005-09-17 03:55:15 +00:00
John Reiser
0330369603
remove debugging strut
...
l_lx_elf86.asm l_lx_elf86.h
committer: jreiser <jreiser> 1126892616 +0000
2005-09-16 17:43:36 +00:00
John Reiser
3f7b642c7d
Linux i386 allow compression of position-independent main executables (gcc -pie).
...
p_elf.h p_lx_elf.cpp p_lx_elf.h p_lx_exc.cpp
stub/fold_elf86.asm stub/fold_elf86.h stub/l_lx_elf.c
stub/l_lx_elf86.asm stub/l_lx_elf86.h stub/l_lx_elf86.lds
stub/linux.hh
committer: jreiser <jreiser> 1126886896 +0000
2005-09-16 16:08:16 +00:00
László Molnár
eb6c51426a
fixed a nasty relocation handling error which could produce broken
...
compressed files
committer: ml1050 <ml1050> 1126865811 +0000
2005-09-16 10:16:51 +00:00
Markus F.X.J. Oberhumer
0337bdb9fd
Added support for UCL_USE_ASM.
...
committer: mfx <mfx> 1126844111 +0000
2005-09-16 04:15:11 +00:00
Markus F.X.J. Oberhumer
7aedc62058
Removed some old and dead code.
...
committer: mfx <mfx> 1126744217 +0000
2005-09-15 00:30:17 +00:00
Markus F.X.J. Oberhumer
bfc835cbbf
Added some more tests to upx_sanity_check(). Disable these for production
...
builds - code bloat.
committer: mfx <mfx> 1126743964 +0000
2005-09-15 00:26:04 +00:00
Markus F.X.J. Oberhumer
5c6ba30c48
New ACC version.
...
committer: mfx <mfx> 1126741199 +0000
2005-09-14 23:39:59 +00:00
Markus F.X.J. Oberhumer
8fe4824ed2
Fix typo.
...
committer: mfx <mfx> 1126295791 +0000
2005-09-09 19:56:31 +00:00
Markus F.X.J. Oberhumer
d40cb3bd55
Cosmetic cleanups.
...
committer: mfx <mfx> 1126295335 +0000
2005-09-09 19:48:55 +00:00
Markus F.X.J. Oberhumer
4bcd3ac5d7
Mention arm/pe.
...
committer: mfx <mfx> 1126294945 +0000
2005-09-09 19:42:25 +00:00
Markus F.X.J. Oberhumer
e2b8e9dea9
Avoid some warnings about unused args.
...
committer: mfx <mfx> 1126294727 +0000
2005-09-09 19:38:47 +00:00
László Molnár
572314bf3f
support for arm/WinCE ("arm/pe") exes
...
committer: ml1050 <ml1050> 1126255781 +0000
2005-09-09 08:49:41 +00:00
Markus F.X.J. Oberhumer
14d303d331
Small updates according to latest glibc headers.
...
committer: mfx <mfx> 1126184484 +0000
2005-09-08 13:01:24 +00:00
Markus F.X.J. Oberhumer
24ffaa0738
Added BE64 and LE64 types.
...
committer: mfx <mfx> 1126183138 +0000
2005-09-08 12:38:58 +00:00
Markus F.X.J. Oberhumer
5d9b6d056d
Small updates.
...
committer: mfx <mfx> 1126029328 +0000
2005-09-06 17:55:28 +00:00
Markus F.X.J. Oberhumer
5c28ff15ba
Changes for new ACC version.
...
committer: mfx <mfx> 1126029282 +0000
2005-09-06 17:54:42 +00:00
Markus F.X.J. Oberhumer
06ceb2f2a1
New ACC version.
...
committer: mfx <mfx> 1126029264 +0000
2005-09-06 17:54:24 +00:00
Markus F.X.J. Oberhumer
4b1a9e714d
New ACC version.
...
committer: mfx <mfx> 1122416002 +0000
2005-07-26 22:13:22 +00:00
Markus F.X.J. Oberhumer
9d76136358
Use gcc-3.4.4 for Linux stubs.
...
committer: mfx <mfx> 1122415958 +0000
2005-07-26 22:12:38 +00:00
Markus F.X.J. Oberhumer
dd7ac7cca9
Updated.
...
committer: mfx <mfx> 1119614331 +0000
2005-06-24 11:58:51 +00:00
Markus F.X.J. Oberhumer
3e785008d3
Avoid warnings.
...
committer: mfx <mfx> 1119613856 +0000
2005-06-24 11:50:56 +00:00
Markus F.X.J. Oberhumer
6b7c7f755c
Avoid warnings about unused vars.
...
committer: mfx <mfx> 1119613814 +0000
2005-06-24 11:50:14 +00:00
Markus F.X.J. Oberhumer
c55a8a8703
Added some more sanity checks.
...
committer: mfx <mfx> 1119613748 +0000
2005-06-24 11:49:08 +00:00