Markus F.X.J. Oberhumer
41e51bfb77
Assert dst_len buffer size in upx_compress().
2006-06-23 17:50:39 +02:00
Markus F.X.J. Oberhumer
7e1d9bc768
Split options_t::crp into multiple structs.
2006-06-23 16:23:31 +02:00
Markus F.X.J. Oberhumer
ba065ec1d8
Improve error code reporting in compression wrappers.
2006-06-23 15:52:10 +02:00
Markus F.X.J. Oberhumer
fe057a91c8
Cleanup: removed upx_bool and upx_uint types.
2006-06-23 15:00:33 +02:00
László Molnár
d2c36eefc9
pe: fixed unpack problem in rebuildImports()
2006-06-23 11:17:26 +02:00
John Reiser
28d56bab04
Merge
2006-06-22 21:30:59 -07:00
John Reiser
2500eff90d
more LZMA debugging for Linux i386 ELF
2006-06-22 21:25:18 -07:00
Markus F.X.J. Oberhumer
153446b3a1
Fixed debugging code.
2006-06-23 05:40:35 +02:00
Markus F.X.J. Oberhumer
391f5caaa2
Added precondition assertions to upx_decompress().
2006-06-23 05:27:42 +02:00
Markus F.X.J. Oberhumer
cc0df92444
Added some more checks.
2006-06-23 04:02:06 +02:00
John Reiser
03910d67c3
M_LZMA bug tracking: decompress fails but says OK
2006-06-22 17:18:17 -07:00
Markus F.X.J. Oberhumer
fec5cc864e
Update Makefile.
2006-06-23 01:02:47 +02:00
Markus F.X.J. Oberhumer
cb78362713
Use inner class UiPacker::State.
2006-06-22 19:40:43 +02:00
Markus F.X.J. Oberhumer
4c5b1a6ff4
Added some assertions to track down a win32/pe unpack problem which
...
shows up on 64-bit machines.
2006-06-22 16:47:10 +02:00
László Molnár
83c5727698
merge
2006-06-22 16:17:09 +02:00
László Molnár
80838ff1e9
watcom/le: lzma seems to work
2006-06-22 16:15:32 +02:00
Markus F.X.J. Oberhumer
29e8d072b7
Simplify C++ style in Linker.
2006-06-22 16:12:48 +02:00
Markus F.X.J. Oberhumer
d7592f01e1
Renamed method.
2006-06-22 16:00:03 +02:00
László Molnár
392f283d9e
added some comments
2006-06-22 15:54:25 +02:00
Markus F.X.J. Oberhumer
bcd738ebbb
Introduced Packer::patchDecompressorGetExtraStacksize().
2006-06-22 15:35:38 +02:00
László Molnár
8020c52c48
merge
2006-06-22 15:04:39 +02:00
László Molnár
3f566e541d
djgpp2: lzma seems to work
2006-06-22 15:00:15 +02:00
Markus F.X.J. Oberhumer
be4a631dc8
Bump version.
2006-06-22 14:50:09 +02:00
Markus F.X.J. Oberhumer
0bfdf908c1
Fixed typo.
2006-06-22 14:20:05 +02:00
Markus F.X.J. Oberhumer
6f2fc23f77
Added LZMA license information.
2006-06-22 14:11:58 +02:00
Markus F.X.J. Oberhumer
f3a47c7e70
Add more lzma_d.ash includes.
2006-06-22 14:07:23 +02:00
Markus F.X.J. Oberhumer
36349ffabb
Removed trailing whitespace.
2006-06-22 14:06:21 +02:00
John Reiser
b13f7366cf
freezeLoader() sooner in PackLinuxElf32x86::buildLinuxLoader()
2006-06-21 17:08:58 -07:00
John Reiser
9181bcd9a7
CT24ARM needs big+little endian versions
2006-06-21 13:57:12 -07:00
Markus F.X.J. Oberhumer
7dbc1d894b
Add default defines like -Dstub_i386_dos32_djgpp2=1 to nasm.
2006-06-21 21:31:20 +02:00
Markus F.X.J. Oberhumer
5720445d15
Use ebx for state pointer. Decrease local stack size.
2006-06-21 14:34:23 +02:00
Markus F.X.J. Oberhumer
a90027521d
Prepare Makefile for integrating lua-5.1.1 into upx.
2006-06-20 15:35:23 +02:00
Markus F.X.J. Oberhumer
e02d400bf6
Avoid djgpp2 link error.
2006-06-20 15:25:38 +02:00
Markus F.X.J. Oberhumer
efadb8fd31
More lzma stubs.
2006-06-19 23:19:34 +02:00
Markus F.X.J. Oberhumer
a19d06561b
Added amd64 implementations of lzma.
2006-06-19 22:33:18 +02:00
Markus F.X.J. Oberhumer
0b685d11c9
More lzma updates - win32/pe + lzma seems to work.
2006-06-19 22:08:06 +02:00
Markus F.X.J. Oberhumer
28f019d672
Merge.
2006-06-19 19:21:23 +02:00
Markus F.X.J. Oberhumer
bf5cbfffc2
Start major refactoring.
2006-06-19 19:20:50 +02:00
László Molnár
fe021e7c51
w32/pe: added Virtualloc and VirtualFree to the import list
2006-06-19 15:05:28 +02:00
Markus F.X.J. Oberhumer
c42fb54bc6
Assorted cleanups.
2006-06-17 18:54:11 +02:00
Markus F.X.J. Oberhumer
9382b68781
Fix srcdir for VPATH build.
2006-06-16 20:08:21 +02:00
Markus F.X.J. Oberhumer
178198a417
Merge.
2006-06-16 17:52:50 +02:00
John Reiser
7068e90771
Merge
2006-06-16 06:53:56 -07:00
Markus F.X.J. Oberhumer
1c762f23d0
Simplify stub/Makefile.
2006-06-16 15:51:59 +02:00
John Reiser
fd2b9a6e21
filter 0x51 (ARM call trick, big-endian at compress time)
2006-06-16 06:49:37 -07:00
Markus F.X.J. Oberhumer
db43910288
Enter 2006.
2006-06-16 15:17:29 +02:00
Markus F.X.J. Oberhumer
f248c0460e
Use -mcpu=405 for powerpc stubs. Also run sstrip on powerpc-linux.elf-fold.
2006-06-16 14:36:13 +02:00
Markus F.X.J. Oberhumer
12ba7776b3
Comment out unused upx_crc32().
2006-06-16 14:08:56 +02:00
Markus F.X.J. Oberhumer
7817e88d03
Updated stub/Makefile.
2006-06-16 13:26:36 +02:00
Markus F.X.J. Oberhumer
8dec65853d
Fixed another bad merge issue.
2006-06-16 12:34:37 +02:00
Markus F.X.J. Oberhumer
88e3cb3be1
Stub: remove files again which seem to have been brought back by some merge.
2006-06-16 12:31:14 +02:00
John Reiser
fa702b48e3
unify PackLinuxElf32arm...::pack1()
2006-06-15 15:41:00 -07:00
John Reiser
299dcf6686
Merge
2006-06-15 12:21:01 -07:00
Markus F.X.J. Oberhumer
27f9ae5bbb
Small cleanups.
2006-06-15 19:59:30 +02:00
Markus F.X.J. Oberhumer
9cb3a853f1
Added option --MMD= to gpp_inc.py for automated dependencies.
2006-06-15 19:03:18 +02:00
Markus F.X.J. Oberhumer
95c8ef4148
Added a number of convenience Makefiles.
2006-06-15 18:07:23 +02:00
Markus F.X.J. Oberhumer
a41bb52014
Updated comments.
2006-06-15 18:03:24 +02:00
Markus F.X.J. Oberhumer
2dfc0a58ab
Renamed src/stub/util/ to src/stub/tools/ .
2006-06-15 17:56:57 +02:00
Markus F.X.J. Oberhumer
1e0c38b5f9
Renamed i386-linux-sstrip to sstrip.
2006-06-15 08:41:33 +02:00
Markus F.X.J. Oberhumer
d3323d6550
Major refactoring of src/stub directory.
2006-06-15 08:17:50 +02:00
John Reiser
ebed0b9f20
allow brev() in-place
2006-06-14 20:21:39 -07:00
John Reiser
f654a453dc
ARM_pack3() unifies big/little endian and HostPolicy
2006-06-14 16:06:50 -07:00
John Reiser
10decf94cc
fix delete[] file_image
2006-06-14 11:41:49 -07:00
John Reiser
96dd4817f1
unify PackLinuxElf32...::canPack(); also ARM buildLinuxLoader()
2006-06-14 11:33:16 -07:00
Markus F.X.J. Oberhumer
72906cdc6a
Removed all files from src/stub directory.
2006-06-14 17:37:59 +02:00
Markus F.X.J. Oberhumer
fba4375be0
Cleanups.
2006-06-14 17:06:33 +02:00
Markus F.X.J. Oberhumer
75120676ad
Introduced BEPolicy and LEPolicy.
2006-06-14 14:45:49 +02:00
Markus F.X.J. Oberhumer
7daf63fd3f
Merge.
2006-06-14 11:48:44 +02:00
Markus F.X.J. Oberhumer
014de25f6f
Disable lzma by default for now.
2006-06-14 11:42:24 +02:00
John Reiser
3fc6535012
un-debug Makefile
2006-06-13 19:02:21 -07:00
John Reiser
4fc0a32572
Do not brev() strings in stub for PackLinuxEl32armBe.
2006-06-13 18:55:26 -07:00
John Reiser
dcc704a357
debug PackLinuxElf32armBe. Also unify subroutines.
2006-06-13 15:51:29 -07:00
John Reiser
bd8acbde97
PackLinuxElf32armBe (Linux ARM big-endian)
2006-06-13 11:48:54 -07:00
John Reiser
112b10c19d
avoid randomness for progid in Elf
2006-06-13 08:53:41 -07:00
John Reiser
d89e561a85
PackLinuxElf32armLe, PackLinuxElf32armBe
2006-06-13 08:51:02 -07:00
John Reiser
49c1da79c8
PackLinuxElf32arm ==> PackLinuxElf32armLe
2006-06-13 08:27:14 -07:00
John Reiser
0a72f00175
Elf_BE32_*
2006-06-13 08:25:30 -07:00
John Reiser
1af5820db0
hack printf()
2006-06-13 08:24:38 -07:00
John Reiser
c117491549
arm-9tdmi-linux-gnu-gcc is gcc-3.4.5-glibc-2.3.6; old was gcc-3.4.1-glibc-2.3.3
2006-06-12 11:05:52 -07:00
Markus F.X.J. Oberhumer
d8748f4270
Introduced MemBuffer::getSizeForCompression().
2006-06-12 13:18:55 +02:00
Markus F.X.J. Oberhumer
c34daf1a35
Make code -Wshadow warning free.
2006-06-11 12:25:19 +02:00
Markus F.X.J. Oberhumer
d461b53235
Renamed variable clen to c_len and ulen to u_len.
2006-06-11 12:13:37 +02:00
Markus F.X.J. Oberhumer
c3ee14eb67
Introduced upx_compress_result_t.
2006-06-11 12:09:25 +02:00
Markus F.X.J. Oberhumer
869fb8e327
Merge.
2006-06-11 00:01:56 +02:00
John Reiser
fbbc3024d6
Linux ARM cacheflush
2006-06-10 14:41:50 -07:00
Markus F.X.J. Oberhumer
f1ba0c0aa7
More lzma stuff.
2006-06-09 18:36:53 +02:00
Markus F.X.J. Oberhumer
54340ab4bf
Renamed environment variable UCLDIR to UPX_UCLDIR.
2006-06-09 15:22:42 +02:00
Markus F.X.J. Oberhumer
39732eee5e
Merge.
2006-06-09 09:30:42 +02:00
Markus F.X.J. Oberhumer
a9e4526a6d
Rearranged compression interface.
2006-06-09 09:28:32 +02:00
John Reiser
57a6d2abf9
Merge
2006-06-08 20:51:59 -07:00
John Reiser
d6246941ac
fix f_unfilter 0x50
2006-06-08 20:48:43 -07:00
László Molnár
2eb91f9b91
do not assume osection[0].rawdataptr > 0 during decompression
2006-06-08 16:52:54 +02:00
Markus F.X.J. Oberhumer
34ae413607
Initial lzma support.
2006-06-07 04:42:15 +02:00
Markus F.X.J. Oberhumer
ee9f8c184b
Small updates.
2006-06-06 19:07:38 +02:00
Markus F.X.J. Oberhumer
b8a16ea99d
Merge.
2006-06-06 17:38:39 +02:00
Markus F.X.J. Oberhumer
89cfa22c3f
Final cleanups for 2.01.
2006-06-06 17:36:34 +02:00
John Reiser
1f18050930
elf32arm escape hatch: avoid Elf32_Ehdr if possible
2006-06-02 08:51:02 -07:00
John Reiser
537b78d564
fix elf32arm unmapping hatch
2006-06-01 22:48:52 -07:00
John Reiser
717fd57ce1
remember b_info for Elf headers; also: escape hatch
2006-06-01 12:00:05 -07:00
John Reiser
3fb7786868
[re-]comment-out debugging 'int3'
2006-06-01 11:12:30 -07:00
John Reiser
17ecfc9765
new class PackLinuxElf32arm : PackLinuxElf32Le;
...
Unify some functions in leaf classes by moving to parent class.
2006-06-01 06:37:44 -07:00
John Reiser
5326260a76
new elf32arm; small effects in elf86, linux.hh
2006-06-01 06:32:33 -07:00
John Reiser
e7522f4bdf
branch merge
2006-05-24 13:59:43 -07:00
John Reiser
504deeff42
ET_DYN cannot be old format for decompression
2006-05-24 13:15:39 -07:00
Markus F.X.J. Oberhumer
b7785b64cf
Small cleanups to keep p_armpe & p_w32pe in sync.
2006-05-24 19:21:26 +02:00
László Molnár
f914cb6858
pe: added support for empty resource section
2006-05-24 17:14:09 +02:00
John Reiser
51536a7acd
decompression PackLinuxElf32x86.ET_DYN
2006-05-23 17:42:35 -07:00
John Reiser
60b4cca5e5
use powerpc-750-linux-gnu/gcc-3.4.3.20050210-glibc-2.2.5
2006-05-22 13:14:54 -07:00
John Reiser
d2718e99a4
Change class PackLinuxI386elf : public PackLinuxI386
...
into class PackLinuxElf32x86 : public PackLinuxElf32Le : public PackLinuxElf32
which makes the code for compressing ELF (for direct-to-memory decompression)
cleaner because ELF has some of the class tree to itself.
This assumes PROT_EXEC|PROT_WRITE ought to work.
This is checked at runtime, and if it fails then
give a message on stderr and exit(127).
Modify --force-execve so that runtime avoids PROT_EXEC|PROT_WRITE.
Then executables compressed with --force-execve will run under
PaX, grSecurity, and strict SELinux.
2006-05-21 13:58:24 -07:00
John Reiser
69a00c0ab3
*BSD requires -1==fd for MAP_ANONYMOUS
...
stub/l_lx_exec.c stub/l_lx_sh.c stub/l_lx_sh86.asm
2006-05-21 13:45:57 -07:00
Markus F.X.J. Oberhumer
3272d23917
Renamed variable hdr_clen to hdr_c_len.
2006-05-20 13:44:36 +02:00
Markus F.X.J. Oberhumer
7f0545cae7
Check result of hdr compression.
2006-05-20 13:37:34 +02:00
Markus F.X.J. Oberhumer
68f35deb86
Fixed a rare boundary problem in Packer::compressWithFilters().
...
The comparision if an update might be possible later was using
"<" instead of "<=" which resulted in missing calls to
findOverlapOverhead() and buildLoader().
Also, the comparision had not been updated for the newly added
hdr_clen fields.
This fixes sf.net bug #1477825 .
2006-05-20 13:29:01 +02:00
László Molnár
a7d8845952
mention --keep-resource in NEWS and help.cpp
2006-05-18 15:54:35 +02:00
László Molnár
3dfe0ad478
pe: fined grain control over resource compression
2006-05-18 15:20:37 +02:00
László Molnár
9a3b7a4f3f
arm/pe: really fix the memory leak
2006-05-18 15:20:11 +02:00
László Molnár
78579b1103
pe: do not crash on out of bounds bogus relocation records
2006-05-18 15:19:55 +02:00
László Molnár
7d50344512
pe: fixed a memory leak in the resource handling code
2006-05-18 15:19:13 +02:00
László Molnár
7a00c12065
arm/pe: minor cleanup in the thumb mode stub
2006-05-18 15:18:50 +02:00
László Molnár
af71e67681
arm/pe: saved 4 bytes in the arm mode stub
2006-05-18 15:18:36 +02:00
László Molnár
b3e20fc324
arm/pe: no need to try to precompute the size of relocations
2006-05-18 15:18:13 +02:00
László Molnár
bd1014abb6
dos/exe: saved some bytes in device driver mode
2006-05-18 15:17:53 +02:00
László Molnár
7f76664a5d
Merged with mainline
2006-05-18 13:10:15 +02:00
Markus F.X.J. Oberhumer
0ece50c122
Removed .cvsignore and .gitignore files.
2006-05-18 09:02:00 +02:00
László Molnár
0ca8ae17d4
updated my email address
2006-05-17 21:05:46 +02:00
László Molnár
0d69d228e4
arm/pe: no need to allocate extra memory in the import table
...
committer: ml1050 <ml1050> 1147090379 +0000
2006-05-08 12:12:59 +00:00
Markus F.X.J. Oberhumer
9fb4af8658
Updated Makefile.
...
committer: mfx <mfx> 1147081156 +0000
2006-05-08 09:39:16 +00:00
László Molnár
9bb6ba9311
dos/exe: device driver support added (thanks Michael Devore)
...
committer: ml1050 <ml1050> 1147078121 +0000
2006-05-08 08:48:41 +00:00
László Molnár
596827a912
remove obsolete files: l_armpe.asm l_armpe.h l_armpe_c.c l_armpe_s.S
...
committer: ml1050 <ml1050> 1146763209 +0000
2006-05-04 17:20:09 +00:00
László Molnár
89b4292445
saved 2 bytes
...
committer: ml1050 <ml1050> 1146763076 +0000
2006-05-04 17:17:56 +00:00
László Molnár
dd88737414
it works on wince now (only with dlls)
...
committer: ml1050 <ml1050> 1146763013 +0000
2006-05-04 17:16:53 +00:00
László Molnár
5456cfc304
arm/pe: use the new linker friendly stubs
...
two linkers: one for arm mode, one for thumb mode
the import address table is moved to the stubs area of compressed files
changed the alignment of some header fields
the command line option "--8086" can be used to force thumb mode on
committer: ml1050 <ml1050> 1146647520 +0000
2006-05-03 09:12:00 +00:00
László Molnár
1e66096ea7
arm/pe stubs: the import address table is moved to the stub
...
committer: ml1050 <ml1050> 1146646915 +0000
2006-05-03 09:01:55 +00:00
John Reiser
2b6ae3908c
/usr/bin/dyld can be a "fat binary" [how stupid!]
...
m_mac_mach32.c fold_machppc32.S fold_machppc32.h
committer: jreiser <jreiser> 1146434013 +0000
2006-04-30 21:53:33 +00:00
László Molnár
1924612479
a small fix for the thumb stub
...
committer: ml1050 <ml1050> 1146224685 +0000
2006-04-28 11:44:45 +00:00
László Molnár
2af5bdeaab
added some debugging code
...
committer: ml1050 <ml1050> 1146154452 +0000
2006-04-27 16:14:12 +00:00
László Molnár
b28565b38d
new files: l_armpea.h l_armpet.h
...
committer: ml1050 <ml1050> 1146154411 +0000
2006-04-27 16:13:31 +00:00
László Molnár
fec602362b
added new virtual function createLinker()
...
committer: ml1050 <ml1050> 1146153290 +0000
2006-04-27 15:54:50 +00:00
László Molnár
6753c5f45a
trying to implement the user space loader on native wince
...
committer: ml1050 <ml1050> 1146152386 +0000
2006-04-27 15:39:46 +00:00
Markus F.X.J. Oberhumer
2f3c108d42
Next version will be 2.01.
...
committer: mfx <mfx> 1146140843 +0000
2006-04-27 12:27:23 +00:00
Markus F.X.J. Oberhumer
e6274904a7
Rebuilt using i386-linux-ld-2.16.1 and i386-linux-objcopy-2.16.1.
...
committer: mfx <mfx> 1146079399 +0000
2006-04-26 19:23:19 +00:00
Markus F.X.J. Oberhumer
3677395444
Add version suffix to the binutils we use. Prefix all linux/386 tools
...
with i386-linux-.
committer: mfx <mfx> 1146079325 +0000
2006-04-26 19:22:05 +00:00
László Molnár
22ba35b3b5
new arm/pe assembly with UPX linker support
...
committer: ml1050 <ml1050> 1145955479 +0000
2006-04-25 08:57:59 +00:00
Markus F.X.J. Oberhumer
9c1ab9979b
Split "$Id" strings so that CVS does not interfere. Explicitlty
...
use ".p2align" and ".balign" instead of ".align".
committer: mfx <mfx> 1145864788 +0000
2006-04-24 07:46:28 +00:00
John Reiser
eaa463e1c9
Insert copyright notice (equivalent to ident_s.ash) into stub by hand
...
because buildLoader is not fully working yet
l_lx_elf64amd.S l_lx_elfppc32.S l_mac_ppc32.S
committer: jreiser <jreiser> 1145825498 +0000
2006-04-23 20:51:38 +00:00
John Reiser
6984be48c3
build sync: compile using crosstool gcc-3.4.3.20050507-glibc-2.3.5
...
committer: jreiser <jreiser> 1145820281 +0000
2006-04-23 19:24:41 +00:00
John Reiser
b739bd3d79
Work better with SELinux. We still require allow_execmem.
...
p_lx_elf.cpp
stub/fold_elfppc32.h
stub/l_lx_elfppc32.h
stub/l_lx_elfppc32.S
stub/m_lx_elfppc32.c
committer: jreiser <jreiser> 1145666524 +0000
2006-04-22 00:42:04 +00:00
John Reiser
23f3e4396c
For elf64and and elfppc32: -fno-exceptions -fno-asynchronous-unwind-tables
...
committer: jreiser <jreiser> 1145666377 +0000
2006-04-22 00:39:37 +00:00
John Reiser
c264750924
Adapt better to SELinux. We still need allow_execmem.
...
p_lx_elf.cpp
stub/a_lx_elf64.c
stub/l_lx_elf64amd.h
stub/l_lx_elf64amd.lds
stub/l_lx_elf64amd.S
stub/fold_elf64amd.h
committer: jreiser <jreiser> 1145657332 +0000
2006-04-21 22:08:52 +00:00
John Reiser
c155f0a5d5
Better fit with SELinux. Now requires only execmem, which Fedora Core 5
...
enables as default for non-confined [ordinary] executables.
l_lx_elf.c
l_lx_elf86.asm
l_lx_elf86.h
l_lx_elf86.lds
fold_elf86.asm
fold_elf86.h
committer: jreiser <jreiser> 1145634453 +0000
2006-04-21 15:47:33 +00:00
László Molnár
76734f086d
added an arm/linux based loader/tester for arm/pe files
...
committer: ml1050 <ml1050> 1145605029 +0000
2006-04-21 07:37:09 +00:00
Markus F.X.J. Oberhumer
509ab8261f
Avoid code bloat in the official builds.
...
committer: mfx <mfx> 1145436321 +0000
2006-04-19 08:45:21 +00:00
Markus F.X.J. Oberhumer
1e05b40d4f
Whitespace changes.
...
committer: mfx <mfx> 1145436164 +0000
2006-04-19 08:42:44 +00:00
John Reiser
58cce9d2f8
Give message on stderr when SELinux enforcing mode inhibits execution.
...
l_lx_elf.c fold_elf86.asm fold_elf86.h
committer: jreiser <jreiser> 1145393418 +0000
2006-04-18 20:50:18 +00:00
László Molnár
2eb6e3b0ea
arm/pe & w32/pe: disable filters for files with broken headers
...
committer: ml1050 <ml1050> 1145356307 +0000
2006-04-18 10:31:47 +00:00
John Reiser
fb1181ed26
Allow executables >=3MB on elf64amd; -r1.69 on 2005-11-12 forgot to remove check.
...
committer: jreiser <jreiser> 1145139994 +0000
2006-04-15 22:26:34 +00:00
John Reiser
0e0ca08924
Propagate changes from linux.hh.
...
fold_elf86.h fold_pti86.h fold_sh86.h
committer: jreiser <jreiser> 1144967510 +0000
2006-04-13 22:31:50 +00:00
John Reiser
5d948a67a8
Propagate changes from linux.hh.
...
Also adjust calling segquence of upx_main() to shave a few bytes.
l_lx_exec.c fold_exec86.asm fold_exec86.h
committer: jreiser <jreiser> 1144967447 +0000
2006-04-13 22:30:47 +00:00
John Reiser
6a4db2ecab
Linux syscalls can clobber any input register, thanks to gcc and
...
the lack of a Linux kernel ABI.
linux.hh
committer: jreiser <jreiser> 1144967342 +0000
2006-04-13 22:29:02 +00:00
Markus F.X.J. Oberhumer
f700273624
Really bump the release date.
...
committer: mfx <mfx> 1144944628 +0000
2006-04-13 16:10:28 +00:00
Markus F.X.J. Oberhumer
0c198e0ccc
Set tentative release date.
...
committer: mfx <mfx> 1144944070 +0000
2006-04-13 16:01:10 +00:00
Markus F.X.J. Oberhumer
71ffbbc420
Prepared 1.96 release.
...
committer: mfx <mfx> 1144943500 +0000
2006-04-13 15:51:40 +00:00
Markus F.X.J. Oberhumer
4fd09b889d
Updated .cvsignore.
...
committer: mfx <mfx> 1144943334 +0000
2006-04-13 15:48:54 +00:00
László Molnár
4cb2a3eebe
show image size change in info mode
...
committer: ml1050 <ml1050> 1144941392 +0000
2006-04-13 15:16:32 +00:00
László Molnár
779033d0bc
added filter (id: 0x50) support to the stub
...
the data cache is written back before the stub jumps to the uncompressed code
committer: ml1050 <ml1050> 1144931349 +0000
2006-04-13 12:29:09 +00:00
László Molnár
3e31560e7d
added a new filter for ARM 24-bit naive calltrick
...
committer: ml1050 <ml1050> 1144931022 +0000
2006-04-13 12:23:42 +00:00
László Molnár
d23d7e8775
removed unneeded entry point address check
...
committer: ml1050 <ml1050> 1144745835 +0000
2006-04-11 08:57:15 +00:00
László Molnár
f6fdf5cb7f
show image size change in info mode
...
committer: ml1050 <ml1050> 1144671675 +0000
2006-04-10 12:21:15 +00:00
Markus F.X.J. Oberhumer
1879ccd27d
Next version will be 2.00.
...
committer: mfx <mfx> 1144586292 +0000
2006-04-09 12:38:12 +00:00
Markus F.X.J. Oberhumer
08c0796719
Avoid warnings when building for m68k.
...
committer: mfx <mfx> 1144523702 +0000
2006-04-08 19:15:02 +00:00
Markus F.X.J. Oberhumer
bcfcfbd064
Added some more operators.
...
committer: mfx <mfx> 1144522838 +0000
2006-04-08 19:00:38 +00:00
Markus F.X.J. Oberhumer
9e79b3258d
Make const-correct to avoid warning.
...
committer: mfx <mfx> 1144522792 +0000
2006-04-08 18:59:52 +00:00
John Reiser
243873cd2d
Workaround inconsistent SIZEOF_HEADERS in stub/*.lds.
...
Test with --force-execve and --no-filter.
p_lx_exc.cpp p_lx_sh.cpp stub/l_lx_sh86.asm stub/l_lx_sh86.h
committer: jreiser <jreiser> 1144381286 +0000
2006-04-07 03:41:26 +00:00
Markus F.X.J. Oberhumer
c7b8a4b0c1
Updated.
...
committer: mfx <mfx> 1144320028 +0000
2006-04-06 10:40:28 +00:00
Markus F.X.J. Oberhumer
e39e0c7140
Added .gitignore files.
...
committer: mfx <mfx> 1144319429 +0000
2006-04-06 10:30:29 +00:00
Markus F.X.J. Oberhumer
d4a3f11dbb
Whitespace changes.
...
committer: mfx <mfx> 1144318755 +0000
2006-04-06 10:19:15 +00:00
Markus F.X.J. Oberhumer
0962f266b3
Whitespace changes.
...
committer: mfx <mfx> 1144314053 +0000
2006-04-06 09:00:53 +00:00
Markus F.X.J. Oberhumer
69e4d3fdad
Bumped tentative release date.
...
committer: mfx <mfx> 1144313563 +0000
2006-04-06 08:52:43 +00:00
Markus F.X.J. Oberhumer
c0908f463a
Added files to "clean" target.
...
committer: mfx <mfx> 1144313493 +0000
2006-04-06 08:51:33 +00:00
Markus F.X.J. Oberhumer
b00a61a17b
Updated.
...
committer: mfx <mfx> 1144313468 +0000
2006-04-06 08:51:08 +00:00
László Molnár
553c2f886a
arm/pe: thumb mode dll support added
...
committer: ml1050 <ml1050> 1144312217 +0000
2006-04-06 08:30:17 +00:00
László Molnár
4fd9c5772a
arm/pe:
...
v4 ARM mode stub support with assembly decompressor by John
dll support for v4 ARM mode
unpacking support
committer: ml1050 <ml1050> 1144249762 +0000
2006-04-05 15:09:22 +00:00
Markus F.X.J. Oberhumer
04e0e06d85
Whitespace changes.
...
committer: mfx <mfx> 1144235344 +0000
2006-04-05 11:09:04 +00:00
Markus F.X.J. Oberhumer
4d7829d72b
New ACC version.
...
committer: mfx <mfx> 1144235271 +0000
2006-04-05 11:07:51 +00:00
John Reiser
6b751aac57
Fix return from THUMB to ARM mode on ARMv4T. Document r6 unused.
...
committer: jreiser <jreiser> 1143650112 +0000
2006-03-29 16:35:12 +00:00
László Molnár
813349fd23
arm/pe: support for nrv2b, support for cpu = 0x1c2, certificate info now removed
...
committer: ml1050 <ml1050> 1143614738 +0000
2006-03-29 06:45:38 +00:00
John Reiser
16a2744782
find_SEGMENT_gap() like find_LOAD_gap(). Use it to avoid checksum trouble.
...
p_mach.cpp p_mach.h
committer: jreiser <jreiser> 1143576015 +0000
2006-03-28 20:00:15 +00:00
John Reiser
7b6870db22
Fix bug: bad test for reaching back too far in SAFE mode. (Thank you, Laszlo.)
...
committer: jreiser <jreiser> 1143564998 +0000
2006-03-28 16:56:38 +00:00
Markus F.X.J. Oberhumer
3e38e7d52c
Small cleanups.
...
committer: mfx <mfx> 1143474969 +0000
2006-03-27 15:56:09 +00:00
László Molnár
8142d3474d
get_le32 reimplemented in assembly
...
committer: ml1050 <ml1050> 1143473260 +0000
2006-03-27 15:27:40 +00:00
Markus F.X.J. Oberhumer
8773649de6
Make code warning-free.
...
committer: mfx <mfx> 1143464312 +0000
2006-03-27 12:58:32 +00:00
Markus F.X.J. Oberhumer
c117920ff9
Add -Wall -Werror to cross-compiler flags.
...
committer: mfx <mfx> 1143463128 +0000
2006-03-27 12:38:48 +00:00
László Molnár
c8dd2a3eb8
arm/pe: use -march=armv4t instead of v5
...
committer: ml1050 <ml1050> 1143462067 +0000
2006-03-27 12:21:07 +00:00
Markus F.X.J. Oberhumer
90b1817e92
Undef PAGE_{MASK,SIZE} in conf.h.
...
committer: mfx <mfx> 1143454717 +0000
2006-03-27 10:18:37 +00:00
Markus F.X.J. Oberhumer
d6c3ff5997
Cleanups.
...
committer: mfx <mfx> 1143454663 +0000
2006-03-27 10:17:43 +00:00
László Molnár
984ec25132
arm/pe: the assembly thumb mode decompressor is used in the stub
...
arm/pe: the C part of the stub is compiled as thumb
committer: ml1050 <ml1050> 1143449862 +0000
2006-03-27 08:57:42 +00:00
John Reiser
a7bff34784
Fix THUMB mode return to ARM mode on ARMv4T. Spend 18 bytes to inline
...
most of get1b via conditional subroutine call idiom.
committer: jreiser <jreiser> 1143302120 +0000
2006-03-25 15:55:20 +00:00
John Reiser
a6e7afbc91
Fix bug: first 'add' instead of 'adc' at get1_n2b. (Thank you, Laszlo.)
...
committer: jreiser <jreiser> 1143228535 +0000
2006-03-24 19:28:55 +00:00
John Reiser
33f1d63b64
Fix bug: first 'add' at get1_n2e instead of 'adc'.
...
Also conditionally assemble SAFE mode for buffer checking (default off).
committer: jreiser <jreiser> 1143228361 +0000
2006-03-24 19:26:01 +00:00
John Reiser
f95e171e11
Workaround linux-2.6.14 binfmt_elf.c: SIGKILL if (0==.p_memsz) on a page boundary.
...
p_lx_elf.cpp p_lx_exc.cpp
committer: jreiser <jreiser> 1143057770 +0000
2006-03-22 20:02:50 +00:00
Markus F.X.J. Oberhumer
c82b50b212
Bumped tentative release date.
...
committer: mfx <mfx> 1142610024 +0000
2006-03-17 15:40:24 +00:00
Markus F.X.J. Oberhumer
2b402b77f1
Updated short-list of supported executable formats.
...
committer: mfx <mfx> 1142609852 +0000
2006-03-17 15:37:32 +00:00
Markus F.X.J. Oberhumer
adcb551020
Increase alignment to 16.
...
committer: mfx <mfx> 1142608657 +0000
2006-03-17 15:17:37 +00:00
Markus F.X.J. Oberhumer
2680aabe06
Removed bogus __attribute_packed from struct udll.
...
committer: mfx <mfx> 1142607440 +0000
2006-03-17 14:57:20 +00:00
Markus F.X.J. Oberhumer
d5c0533b74
Allow the PE sections to cross a page boundary.
...
committer: mfx <mfx> 1142603590 +0000
2006-03-17 13:53:10 +00:00
László Molnár
6c9c67f6c5
DEP hack: it seems we need to patch the flags of section "UPX1" too
...
committer: ml1050 <ml1050> 1142508181 +0000
2006-03-16 11:23:01 +00:00
Markus F.X.J. Oberhumer
5bd32b5521
Commented out "int3" debugging leftovers.
...
committer: mfx <mfx> 1142312678 +0000
2006-03-14 05:04:38 +00:00
Markus F.X.J. Oberhumer
549336f75b
Use boolean instead of bitwise logic.
...
committer: mfx <mfx> 1142311485 +0000
2006-03-14 04:44:45 +00:00
Markus F.X.J. Oberhumer
f0e75f30b3
Fixed typo in comment.
...
committer: mfx <mfx> 1142310885 +0000
2006-03-14 04:34:45 +00:00
Markus F.X.J. Oberhumer
144c09f175
Rebuilt i386-linux stubs by gcc-3.4.6.
...
committer: mfx <mfx> 1142310823 +0000
2006-03-14 04:33:43 +00:00
Markus F.X.J. Oberhumer
ee50c0f97c
Corrected app_*.pl dependency.
...
committer: mfx <mfx> 1142309988 +0000
2006-03-14 04:19:48 +00:00
John Reiser
ade921bf02
%.asy and %.asx depend onf $(APP_I386)
...
committer: jreiser <jreiser> 1142306625 +0000
2006-03-14 03:23:45 +00:00
John Reiser
676cacff04
gcc-4.1.0 vs. mmap()
...
linux.hh
fold_elf86.asm l_lx_elf.c
fold_exec86.asm l_lx_exec.c
fold_pti86.asm l_lx_pti.c
fold_sh86.asm l_lx_sh.c l_lx_sh86.asm
l_lx_sep.c
committer: jreiser <jreiser> 1142305438 +0000
2006-03-14 03:03:58 +00:00
Markus F.X.J. Oberhumer
a3097d5e25
Added a dependency.
...
committer: mfx <mfx> 1142303569 +0000
2006-03-14 02:32:49 +00:00
Markus F.X.J. Oberhumer
fd78148558
Fixed typo in disabled code.
...
committer: mfx <mfx> 1142302679 +0000
2006-03-14 02:17:59 +00:00
Markus F.X.J. Oberhumer
a4d79d7375
Small cosmetic changes.
...
committer: mfx <mfx> 1142302586 +0000
2006-03-14 02:16:26 +00:00
Markus F.X.J. Oberhumer
df04e8183d
Filter parameters should be called "ft" instead of "fp".
...
committer: mfx <mfx> 1142301730 +0000
2006-03-14 02:02:10 +00:00
Markus F.X.J. Oberhumer
c43c484a62
Re-synced both files a little bit.
...
committer: mfx <mfx> 1142301586 +0000
2006-03-14 01:59:46 +00:00
Markus F.X.J. Oberhumer
0608c35669
Added some more OBJSTRIP. Small cleanups.
...
committer: mfx <mfx> 1142298790 +0000
2006-03-14 01:13:10 +00:00
Markus F.X.J. Oberhumer
7dd4d06e26
Added some more calls to $(OBJSTRIP_LINUX_I386) after $(NASM) invocations.
...
committer: mfx <mfx> 1142288478 +0000
2006-03-13 22:21:18 +00:00
John Reiser
1ee0310b86
silence complaint from ld "cannot find entry symbol _start; defaulting to 10000000"
...
committer: jreiser <jreiser> 1142285749 +0000
2006-03-13 21:35:49 +00:00
Markus F.X.J. Oberhumer
cc0a52038f
Rebuilt i386-linux stubs with gcc-4.1.0 for small size decrease.
...
committer: mfx <mfx> 1142248018 +0000
2006-03-13 11:06:58 +00:00
Markus F.X.J. Oberhumer
6aed1fe231
Updated.
...
committer: mfx <mfx> 1142247976 +0000
2006-03-13 11:06:16 +00:00
Markus F.X.J. Oberhumer
680608fe18
Portability fix.
...
committer: mfx <mfx> 1142247872 +0000
2006-03-13 11:04:32 +00:00
Markus F.X.J. Oberhumer
ec6acbc602
Small fix to make valid ANSI C again.
...
committer: mfx <mfx> 1142247837 +0000
2006-03-13 11:03:57 +00:00
John Reiser
cb7ee4c5d2
_syscall1nr() for _exit; [still wastes 4 bytes]
...
committer: jreiser <jreiser> 1142210712 +0000
2006-03-13 00:45:12 +00:00
Markus F.X.J. Oberhumer
88d5798f45
Bumped versions for starting 1.95 development.
...
committer: mfx <mfx> 1142090576 +0000
2006-03-11 15:22:56 +00:00
Markus F.X.J. Oberhumer
fcc22a0aa3
Added UPX_VERSION_DATE_ISO.
...
committer: mfx <mfx> 1142085195 +0000
2006-03-11 13:53:15 +00:00
Markus F.X.J. Oberhumer
aabefff298
Prepared for release 1.94.
...
committer: mfx <mfx> 1142081862 +0000
2006-03-11 12:57:42 +00:00
Markus F.X.J. Oberhumer
ed25c64e97
Updated.
...
committer: mfx <mfx> 1142081797 +0000
2006-03-11 12:56:37 +00:00
Markus F.X.J. Oberhumer
b7dc870c2d
Centered strings.
...
committer: mfx <mfx> 1142081776 +0000
2006-03-11 12:56:16 +00:00
Markus F.X.J. Oberhumer
9bea608843
Don't suppress errors with -qq.
...
committer: mfx <mfx> 1142081041 +0000
2006-03-11 12:44:01 +00:00
Markus F.X.J. Oberhumer
9db1732c36
Added a note that we should upgrade to gcc-4.1.0 on i386-linux.
...
committer: mfx <mfx> 1142074774 +0000
2006-03-11 10:59:34 +00:00
Markus F.X.J. Oberhumer
39f1a70174
Small update.
...
committer: mfx <mfx> 1142036155 +0000
2006-03-11 00:15:55 +00:00
Markus F.X.J. Oberhumer
1810440355
Added __attribute__((__sentinel__)) to Packer::addLoader(). This is
...
a new gcc-4.1 feature.
committer: mfx <mfx> 1142035833 +0000
2006-03-11 00:10:33 +00:00
Markus F.X.J. Oberhumer
37ac8f179e
New ACC version.
...
committer: mfx <mfx> 1142035385 +0000
2006-03-11 00:03:05 +00:00
Markus F.X.J. Oberhumer
8d489d0d77
New ACC version.
...
committer: mfx <mfx> 1141798968 +0000
2006-03-08 06:22:48 +00:00
Markus F.X.J. Oberhumer
01c8a8b1c2
Disabled an expensive run-time assertion.
...
committer: mfx <mfx> 1141642878 +0000
2006-03-06 11:01:18 +00:00
Markus F.X.J. Oberhumer
c9bf6ac9ae
No need to preserve eax in clearstack.
...
committer: mfx <mfx> 1141642647 +0000
2006-03-06 10:57:27 +00:00
John Reiser
62e4d69be9
re-compile from changed m_lx_elfppc32.c
...
committer: jreiser <jreiser> 1141605710 +0000
2006-03-06 00:41:50 +00:00
John Reiser
62ac733b09
simplify and save a few bytes
...
committer: jreiser <jreiser> 1141488398 +0000
2006-03-04 16:06:38 +00:00
John Reiser
c3b3e1b1b9
MAP_DENYWRITE
...
committer: jreiser <jreiser> 1141484579 +0000
2006-03-04 15:02:59 +00:00
John Reiser
a791e96e00
Fix do_xmap() to work under SElinux. Also trim unneeded code.
...
committer: jreiser <jreiser> 1141413353 +0000
2006-03-03 19:15:53 +00:00
John Reiser
e87f5521c1
conditionally compile debugging printf
...
committer: jreiser <jreiser> 1141365595 +0000
2006-03-03 05:59:55 +00:00
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
Markus F.X.J. Oberhumer
64c97308ac
Portability fix for gcc -ftrapv option.
...
committer: mfx <mfx> 1119613504 +0000
2005-06-24 11:45:04 +00:00
Markus F.X.J. Oberhumer
3551b0b95a
Updated.
...
committer: mfx <mfx> 1119613441 +0000
2005-06-24 11:44:01 +00:00
Markus F.X.J. Oberhumer
9f16b5c4af
Recompiled stubs.
...
committer: mfx <mfx> 1119613249 +0000
2005-06-24 11:40:49 +00:00
Markus F.X.J. Oberhumer
fbfced1b93
New ACC version.
...
committer: mfx <mfx> 1119613192 +0000
2005-06-24 11:39:52 +00:00
John Reiser
1a84b4681c
fix sign-extend bug
...
committer: jreiser <jreiser> 1114311664 +0000
2005-04-24 03:01:04 +00:00
John Reiser
4bf81b8e1c
propagate compiled changes due to ppc_bxx.S
...
stub/fold_elfppc32.h stub/fold_machppc32.h
committer: jreiser <jreiser> 1114229942 +0000
2005-04-23 04:19:02 +00:00