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
Markus F.X.J. Oberhumer
b8e698bde3
Added CPU instructions to all nasm source files.
...
FIXME: ctojr32 needs CPU 486 because it uses bswap.
committer: mfx <mfx> 1075806034 +0000
2004-02-03 11:00:34 +00:00
Markus F.X.J. Oberhumer
5f87e9891b
Enter 2004.
...
committer: mfx <mfx> 1074623868 +0000
2004-01-20 18:37:48 +00:00
John Reiser
03f1f615e5
filter 0x49 for [b]vmlinuz; 2nd parameter for ckt32 (addvalue)
...
p_vmlinz.cpp stub/macros.ash
stub/l_lx_elf86.asm
stub/l_lx_exec86.asm
stub/l_vmlinz.asm
committer: jreiser <jreiser> 1058406408 +0000
2003-07-17 01:46:48 +00:00
Markus F.X.J. Oberhumer
2162a01848
Enter 2003.
...
committer: mfx <mfx> 1042478199 +0000
2003-01-13 17:16:39 +00:00
John Reiser
44c1879e27
use n2e_d32.ash, n2e_d32.asy
...
Makefile l_lx_elf86.asm l_lx_exec86.asm l_lx_sh86.asm
committer: jreiser <jreiser> 1034834452 +0000
2002-10-17 06:00:52 +00:00
Markus F.X.J. Oberhumer
74a2d9486b
Initial NRV2E support. Pretty much untested.
...
committer: mfx <mfx> 1031841557 +0000
2002-09-12 14:39:17 +00:00
John Reiser
40fddf1715
Put upx stub loader at high end of ELF output file on linux,
...
and allow for block-by-block specification of filter and parameters.
linker.cpp linker.h mem.cpp mem.h p_elf.h
p_lx_elf.cpp p_lx_elf.h
p_lx_exc.cpp p_lx_exc.h
p_lx_sh.cpp p_lx_sh.h
p_unix.cpp p_unix.h
packer.cpp packer.h
stub/fold_elf86.asm stub/fold_exec86.asm stub/fold_sh86.asm
stub/l_lx_elf.c stub/l_lx_elf86.asm stub/l_lx_elf86.lds
stub/l_lx_exec.c stub/l_lx_exec86.asm stub/l_lx_exec86.lds
stub/l_lx_sh.c stub/l_lx_sh86.asm stub/l_lx_sh86.lds
stub/linux.hh
committer: jreiser <jreiser> 981084316 +0000
2001-02-02 03:25:16 +00:00
Markus F.X.J. Oberhumer
bbf2938719
Avoid an app.pl warning.
...
committer: mfx <mfx> 979828878 +0000
2001-01-18 14:41:18 +00:00
John Reiser
df9db96bd1
filters for unix(linux)
...
Modified Files:
filteri.cpp filter/ctojr.h linker.cpp linker.h mem.cpp mem.h
p_lx_elf.cpp p_lx_elf.h
p_lx_exc.cpp p_lx_exc.h
p_lx_sh.cpp p_lx_sh.h
p_unix.cpp packer.cpp packer.h packhead.cpp
stub/Makefile stub/macros.ash
stub/l_lx_elf.c stub/l_lx_elf86.asm stub/l_lx_elf86.lds
stub/l_lx_exec.c stub/l_lx_exec86.asm stub/l_lx_exec86.lds
stub/l_lx_sh86.asm stub/l_lx_sh86.lds
Added Files:
filter/ctok.h
stub/fold_elf86.asm stub/fold_exec86.asm stub/fold_sh86.asm
committer: jreiser <jreiser> 979796725 +0000
2001-01-18 05:45:25 +00:00
Markus F.X.J. Oberhumer
f96955b9f0
Updated my email address.
...
committer: mfx <mfx> 978625825 +0000
2001-01-04 16:30:25 +00:00
Markus F.X.J. Oberhumer
aa540f85fa
Big merge of my working tree: Added options `--all-methods', new
...
Packer::getCompressionMethods(), improved Packer::compressWithFilters().
committer: mfx <mfx> 978449945 +0000
2001-01-02 15:39:05 +00:00
Markus F.X.J. Oberhumer
abc15a398c
Updated the file headers.
...
committer: mfx <mfx> 974118160 +0000
2000-11-13 12:22:40 +00:00
Markus F.X.J. Oberhumer
400489aa55
Use "jmp near".
...
committer: mfx <mfx> 969274074 +0000
2000-09-18 10:47:54 +00:00
Markus F.X.J. Oberhumer
31c9420613
Added explicit word' and dword' to several jumps.
...
committer: mfx <mfx> 968832694 +0000
2000-09-13 08:11:34 +00:00
John Reiser
6bb104b39f
Compress the compiled C code in the stub on lx_exec86 (saves 157 bytes).
...
Also make 'fold_begin' processing more robust.
p_lx_elf.cpp p_lx_sh.cpp p_unix.cpp
stub/Makefile stub/l_lx_exec86.asm
committer: jreiser <jreiser> 958923851 +0000
2000-05-21 15:44:11 +00:00
John Reiser
25ade0970b
Extent for xread(); more args for upx_main()
...
l_lx_exec.c l_lx_exec86.asm
committer: jreiser <jreiser> 958847261 +0000
2000-05-20 18:27:41 +00:00
convert-repo
1a9128a473
Initial commit (from git)
2000-05-19 16:04:55 +00:00