Commit Graph

  • 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). John Reiser 2006-05-21 13:58:24 -07:00
  • 69a00c0ab3 *BSD requires -1==fd for MAP_ANONYMOUS stub/l_lx_exec.c stub/l_lx_sh.c stub/l_lx_sh86.asm John Reiser 2006-05-21 13:45:57 -07:00
  • 3272d23917 Renamed variable hdr_clen to hdr_c_len. Markus F.X.J. Oberhumer 2006-05-20 13:44:36 +02:00
  • 7f0545cae7 Check result of hdr compression. Markus F.X.J. Oberhumer 2006-05-20 13:37:34 +02:00
  • 68f35deb86 Fixed a rare boundary problem in Packer::compressWithFilters(). Markus F.X.J. Oberhumer 2006-05-20 13:29:01 +02:00
  • c4f4035072 Updated NEWS. Markus F.X.J. Oberhumer 2006-05-18 19:01:03 +02:00
  • a7d8845952 mention --keep-resource in NEWS and help.cpp László Molnár 2006-05-18 15:54:35 +02:00
  • a3378393b0 Removed scripts/. Markus F.X.J. Oberhumer 2006-05-18 15:35:35 +02:00
  • 3dfe0ad478 pe: fined grain control over resource compression László Molnár 2006-05-18 15:20:37 +02:00
  • 9a3b7a4f3f arm/pe: really fix the memory leak László Molnár 2006-05-18 15:20:11 +02:00
  • 78579b1103 pe: do not crash on out of bounds bogus relocation records László Molnár 2006-05-18 15:19:55 +02:00
  • 7d50344512 pe: fixed a memory leak in the resource handling code László Molnár 2006-05-18 15:19:13 +02:00
  • 7a00c12065 arm/pe: minor cleanup in the thumb mode stub László Molnár 2006-05-18 15:18:50 +02:00
  • af71e67681 arm/pe: saved 4 bytes in the arm mode stub László Molnár 2006-05-18 15:18:36 +02:00
  • b3e20fc324 arm/pe: no need to try to precompute the size of relocations László Molnár 2006-05-18 15:18:13 +02:00
  • bd1014abb6 dos/exe: saved some bytes in device driver mode László Molnár 2006-05-18 15:17:53 +02:00
  • 7f76664a5d Merged with mainline László Molnár 2006-05-18 13:10:15 +02:00
  • 0a5a80b05d Updated .hgignore. Markus F.X.J. Oberhumer 2006-05-18 10:48:06 +02:00
  • 2d63da0660 Support automatic ChangeLog generation. Markus F.X.J. Oberhumer 2006-05-18 10:16:59 +02:00
  • 8387527d2e Updated .hgignore. Markus F.X.J. Oberhumer 2006-05-18 09:37:18 +02:00
  • 5d03ba7d63 Added .hgignore. Markus F.X.J. Oberhumer 2006-05-18 09:08:38 +02:00
  • 0ece50c122 Removed .cvsignore and .gitignore files. Markus F.X.J. Oberhumer 2006-05-18 09:02:00 +02:00
  • f2ac297252 Updated tags. Markus F.X.J. Oberhumer 2006-05-18 08:27:19 +02:00
  • 0ca8ae17d4 updated my email address László Molnár 2006-05-17 21:05:46 +02:00
  • 88ca87cf9e update tags convert-repo 2006-05-11 10:41:33 +00:00
  • 0d69d228e4 arm/pe: no need to allocate extra memory in the import table László Molnár 2006-05-08 12:12:59 +00:00
  • a3afe95306 Updated NEWS. Markus F.X.J. Oberhumer 2006-05-08 09:39:55 +00:00
  • 9fb4af8658 Updated Makefile. Markus F.X.J. Oberhumer 2006-05-08 09:39:16 +00:00
  • 9bb6ba9311 dos/exe: device driver support added (thanks Michael Devore) László Molnár 2006-05-08 08:48:41 +00:00
  • faa42ba341 Updated the master Makefile to be more friendly to people without the special stub build tools. Markus F.X.J. Oberhumer 2006-05-04 17:35:16 +00:00
  • 596827a912 remove obsolete files: l_armpe.asm l_armpe.h l_armpe_c.c l_armpe_s.S László Molnár 2006-05-04 17:20:09 +00:00
  • 89b4292445 saved 2 bytes László Molnár 2006-05-04 17:17:56 +00:00
  • dd88737414 it works on wince now (only with dlls) László Molnár 2006-05-04 17:16:53 +00:00
  • 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 László Molnár 2006-05-03 09:12:00 +00:00
  • 1e66096ea7 arm/pe stubs: the import address table is moved to the stub László Molnár 2006-05-03 09:01:55 +00:00
  • 2b6ae3908c /usr/bin/dyld can be a "fat binary" [how stupid!] m_mac_mach32.c fold_machppc32.S fold_machppc32.h John Reiser 2006-04-30 21:53:33 +00:00
  • 1924612479 a small fix for the thumb stub László Molnár 2006-04-28 11:44:45 +00:00
  • 2af5bdeaab added some debugging code László Molnár 2006-04-27 16:14:12 +00:00
  • b28565b38d new files: l_armpea.h l_armpet.h László Molnár 2006-04-27 16:13:31 +00:00
  • fec602362b added new virtual function createLinker() László Molnár 2006-04-27 15:54:50 +00:00
  • 6753c5f45a trying to implement the user space loader on native wince László Molnár 2006-04-27 15:39:46 +00:00
  • 2f3c108d42 Next version will be 2.01. Markus F.X.J. Oberhumer 2006-04-27 12:27:23 +00:00
  • ce6d99bdb4 More README updates. Markus F.X.J. Oberhumer 2006-04-26 21:18:55 +00:00
  • 86d4125893 Updates. Markus F.X.J. Oberhumer 2006-04-26 21:16:29 +00:00
  • 3a18f00379 Prepared 2.00 release notes. Markus F.X.J. Oberhumer 2006-04-26 21:07:01 +00:00
  • e6274904a7 Rebuilt using i386-linux-ld-2.16.1 and i386-linux-objcopy-2.16.1. Markus F.X.J. Oberhumer 2006-04-26 19:23:19 +00:00
  • 3677395444 Add version suffix to the binutils we use. Prefix all linux/386 tools with i386-linux-. Markus F.X.J. Oberhumer 2006-04-26 19:22:05 +00:00
  • 22ba35b3b5 new arm/pe assembly with UPX linker support László Molnár 2006-04-25 08:57:59 +00:00
  • 9c1ab9979b Split "$Id" strings so that CVS does not interfere. Explicitlty use ".p2align" and ".balign" instead of ".align". Markus F.X.J. Oberhumer 2006-04-24 07:46:28 +00:00
  • 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 John Reiser 2006-04-23 20:51:38 +00:00
  • 6984be48c3 build sync: compile using crosstool gcc-3.4.3.20050507-glibc-2.3.5 John Reiser 2006-04-23 19:24:41 +00:00
  • 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 John Reiser 2006-04-22 00:42:04 +00:00
  • 23f3e4396c For elf64and and elfppc32: -fno-exceptions -fno-asynchronous-unwind-tables John Reiser 2006-04-22 00:39:37 +00:00
  • 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 John Reiser 2006-04-21 22:08:52 +00:00
  • 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 John Reiser 2006-04-21 15:47:33 +00:00
  • 76734f086d added an arm/linux based loader/tester for arm/pe files László Molnár 2006-04-21 07:37:09 +00:00
  • 4f2d1172dd Added a note about --force-execve. Converted quoting from using backticks to single-quotes. Markus F.X.J. Oberhumer 2006-04-19 11:05:08 +00:00
  • 75caf4e297 Fix spelling in NEWS. Markus F.X.J. Oberhumer 2006-04-19 08:46:18 +00:00
  • 509ab8261f Avoid code bloat in the official builds. Markus F.X.J. Oberhumer 2006-04-19 08:45:21 +00:00
  • 1e05b40d4f Whitespace changes. Markus F.X.J. Oberhumer 2006-04-19 08:42:44 +00:00
  • 451390f835 Updated NEWS. Markus F.X.J. Oberhumer 2006-04-19 08:38:44 +00:00
  • 58cce9d2f8 Give message on stderr when SELinux enforcing mode inhibits execution. l_lx_elf.c fold_elf86.asm fold_elf86.h John Reiser 2006-04-18 20:50:18 +00:00
  • 2eb6e3b0ea arm/pe & w32/pe: disable filters for files with broken headers László Molnár 2006-04-18 10:31:47 +00:00
  • fb1181ed26 Allow executables >=3MB on elf64amd; -r1.69 on 2005-11-12 forgot to remove check. John Reiser 2006-04-15 22:26:34 +00:00
  • 6d5e1d529d Updated NEWS. Markus F.X.J. Oberhumer 2006-04-13 22:48:32 +00:00
  • 0e0ca08924 Propagate changes from linux.hh. fold_elf86.h fold_pti86.h fold_sh86.h John Reiser 2006-04-13 22:31:50 +00:00
  • 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 John Reiser 2006-04-13 22:30:47 +00:00
  • 6a4db2ecab Linux syscalls can clobber any input register, thanks to gcc and the lack of a Linux kernel ABI. linux.hh John Reiser 2006-04-13 22:29:02 +00:00
  • f700273624 Really bump the release date. Markus F.X.J. Oberhumer 2006-04-13 16:10:28 +00:00
  • 0c198e0ccc Set tentative release date. Markus F.X.J. Oberhumer 2006-04-13 16:01:10 +00:00
  • 71ffbbc420 Prepared 1.96 release. Markus F.X.J. Oberhumer 2006-04-13 15:51:40 +00:00
  • 4fd09b889d Updated .cvsignore. Markus F.X.J. Oberhumer 2006-04-13 15:48:54 +00:00
  • 4cb2a3eebe show image size change in info mode László Molnár 2006-04-13 15:16:32 +00:00
  • c25186b1f6 minor documentation updates László Molnár 2006-04-13 15:14:34 +00:00
  • 779033d0bc added filter (id: 0x50) support to the stub the data cache is written back before the stub jumps to the uncompressed code László Molnár 2006-04-13 12:29:09 +00:00
  • 3e31560e7d added a new filter for ARM 24-bit naive calltrick László Molnár 2006-04-13 12:23:42 +00:00
  • d23d7e8775 removed unneeded entry point address check László Molnár 2006-04-11 08:57:15 +00:00
  • f6fdf5cb7f show image size change in info mode László Molnár 2006-04-10 12:21:15 +00:00
  • 1879ccd27d Next version will be 2.00. Markus F.X.J. Oberhumer 2006-04-09 12:38:12 +00:00
  • 08c0796719 Avoid warnings when building for m68k. Markus F.X.J. Oberhumer 2006-04-08 19:15:02 +00:00
  • edc7994ce5 Prepared 1.95 release. Markus F.X.J. Oberhumer 2006-04-08 19:01:24 +00:00
  • bcfcfbd064 Added some more operators. Markus F.X.J. Oberhumer 2006-04-08 19:00:38 +00:00
  • 9e79b3258d Make const-correct to avoid warning. Markus F.X.J. Oberhumer 2006-04-08 18:59:52 +00:00
  • 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 John Reiser 2006-04-07 03:41:26 +00:00
  • c7b8a4b0c1 Updated. Markus F.X.J. Oberhumer 2006-04-06 10:40:28 +00:00
  • e39e0c7140 Added .gitignore files. Markus F.X.J. Oberhumer 2006-04-06 10:30:29 +00:00
  • d4a3f11dbb Whitespace changes. Markus F.X.J. Oberhumer 2006-04-06 10:19:15 +00:00
  • 0962f266b3 Whitespace changes. Markus F.X.J. Oberhumer 2006-04-06 09:00:53 +00:00
  • 69e4d3fdad Bumped tentative release date. Markus F.X.J. Oberhumer 2006-04-06 08:52:43 +00:00
  • c0908f463a Added files to "clean" target. Markus F.X.J. Oberhumer 2006-04-06 08:51:33 +00:00
  • b00a61a17b Updated. Markus F.X.J. Oberhumer 2006-04-06 08:51:08 +00:00
  • 553c2f886a arm/pe: thumb mode dll support added László Molnár 2006-04-06 08:30:17 +00:00
  • 4fd9c5772a arm/pe: v4 ARM mode stub support with assembly decompressor by John dll support for v4 ARM mode unpacking support László Molnár 2006-04-05 15:09:22 +00:00
  • 04e0e06d85 Whitespace changes. Markus F.X.J. Oberhumer 2006-04-05 11:09:04 +00:00
  • 4d7829d72b New ACC version. Markus F.X.J. Oberhumer 2006-04-05 11:07:51 +00:00
  • 6b751aac57 Fix return from THUMB to ARM mode on ARMv4T. Document r6 unused. John Reiser 2006-03-29 16:35:12 +00:00
  • 813349fd23 arm/pe: support for nrv2b, support for cpu = 0x1c2, certificate info now removed László Molnár 2006-03-29 06:45:38 +00:00
  • 16a2744782 find_SEGMENT_gap() like find_LOAD_gap(). Use it to avoid checksum trouble. p_mach.cpp p_mach.h John Reiser 2006-03-28 20:00:15 +00:00
  • 7b6870db22 Fix bug: bad test for reaching back too far in SAFE mode. (Thank you, Laszlo.) John Reiser 2006-03-28 16:56:38 +00:00
  • 3e38e7d52c Small cleanups. Markus F.X.J. Oberhumer 2006-03-27 15:56:09 +00:00