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