Markus F.X.J. Oberhumer
6bc3197721
Enter 2010.
2010-02-06 17:15:49 +01:00
Markus F.X.J. Oberhumer
5ed689ceb0
Enter 2009.
2008-12-31 17:07:18 +01:00
Markus F.X.J. Oberhumer
25f1765f36
Support building with OpenWatcom 1.8. Silence some compiler warnings.
2008-12-31 16:56:38 +01:00
Markus F.X.J. Oberhumer
063bd58802
Silence gcc's -Wstrict-aliasing=1 warnings.
2008-12-29 23:15:56 +01:00
Markus F.X.J. Oberhumer
7f9c47176a
Introduce target endianness accessors get_teXX() and set_teXX() in packer.h to
...
replace all [gs]et_nativeXX() member functions.
2008-01-09 13:57:47 +01:00
Markus F.X.J. Oberhumer
6ff1bd5917
Update my email address.
2008-01-02 10:12:42 +01:00
Markus F.X.J. Oberhumer
fa49dbe2cb
Enter 2008.
2008-01-02 09:42:31 +01:00
Markus F.X.J. Oberhumer
5e83596a1b
Enter 2007.
2007-01-14 13:08:58 +01:00
Markus F.X.J. Oberhumer
0b988176fa
Portability fixes.
2007-01-10 17:16:59 +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
1d0d538d0c
Added new option '--ultra-brute'.
2006-12-01 02:47:46 +01:00
Markus F.X.J. Oberhumer
ba4a686d1c
Fix endian issue in execve formats.
2006-11-21 18:42:38 +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
d9e8c953b1
Fixed some ElfLinker endian issues.
2006-11-18 17:43:29 +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
a81c7a7cd6
PackBSDI386 clarify osabi issues.
2006-09-27 14:38:42 -07:00
John Reiser
b0e1bd239f
Pack shell scripts for Linux only (and not *BSD, for example [no stub!])
2006-09-26 16:21:28 -07:00
Markus F.X.J. Oberhumer
ae20e01d2c
Started renaming some loader symbols - now that we have a real
...
linker we really should improve readability and avoid those
old cryptic names.
2006-08-30 00:11:40 +02:00
John Reiser
579ce20cad
remove patchFilter32()
2006-08-22 20:49:28 -07:00
John Reiser
30a4adf331
Reduce usage of patchDecompressor()
2006-08-21 21:19:48 -07:00
Markus F.X.J. Oberhumer
601cd95277
Removed Packer::getIdentstr().
2006-08-21 19:57:43 +02:00
Markus F.X.J. Oberhumer
8b662bc6b5
Removed trailing whitespace.
2006-08-19 14:01:39 +02:00
John Reiser
a6e4b45a38
--force-execve for *BSD/386
2006-08-17 17:35:33 -07:00
John Reiser
4715cbb70d
PackLinuxI386::newLinker() is a new ElfLinkerX86;
...
re-generate i386-linux.elf.execve-entry.h after lzma_d_cs.S
2006-08-10 18:48:32 -07:00
John Reiser
8edc03df64
PackLinuxI386::newLinker(); also use arm-unknown-linux-gnu-gcc-4.1.0
...
to re-compile stub/src/arch/arm/v4t/lzma_d_cf.S, lzma_d_cs.S .
2006-08-10 16:52:20 -07:00
John Reiser
b34e204676
PackLinuxElf32ppc conversion; alignment in *::Section
2006-07-16 15:04:16 -07:00
John Reiser
ec9d6c4fd2
workaround linux bug which demands writeable PT_LOAD for .bss
2006-06-29 19:07:02 -07:00
John Reiser
4dee357362
optimize PackLinuxI386::buildLinuxLoader
2006-06-25 05:56:36 -07:00
John Reiser
431f4b9b0d
fix i386-linux.elf.shell
2006-06-25 05:44:39 -07:00
Markus F.X.J. Oberhumer
bf5cbfffc2
Start major refactoring.
2006-06-19 19:20:50 +02:00
Markus F.X.J. Oberhumer
d3323d6550
Major refactoring of src/stub directory.
2006-06-15 08:17:50 +02: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
László Molnár
0ca8ae17d4
updated my email address
2006-05-17 21:05:46 +02: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
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
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
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
8b7ebcf040
Enter 2006.
...
committer: mfx <mfx> 1139778883 +0000
2006-02-12 21:14:43 +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
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
Markus F.X.J. Oberhumer
a0b26b6c06
Added Elf32_Dyn.
...
committer: mfx <mfx> 1109671693 +0000
2005-03-01 10:08:13 +00:00
Markus F.X.J. Oberhumer
56d09bf3b5
Avoid warning.
...
committer: mfx <mfx> 1109669763 +0000
2005-03-01 09:36:03 +00:00
John Reiser
dfaf3f24fc
fix bad merge
...
p_lx_elf.h p_lx_exc.cpp
committer: jreiser <jreiser> 1108944786 +0000
2005-02-21 00:13:06 +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
465ea6429f
"new []" requires matching "delete []"
...
committer: jreiser <jreiser> 1090882098 +0000
2004-07-26 22:48:18 +00:00
Markus F.X.J. Oberhumer
5f87e9891b
Enter 2004.
...
committer: mfx <mfx> 1074623868 +0000
2004-01-20 18:37:48 +00:00
Markus F.X.J. Oberhumer
97153e8e09
Compile fixes for PGI C++.
...
committer: mfx <mfx> 1071917829 +0000
2003-12-20 10:57:09 +00:00