Commit Graph

  • 507e19945e more checking of PT_DYNAMIC John Reiser 2017-12-30 22:31:50 -08:00
  • 4a35bf32ea static uClibc on amd64 passes entry.%rdx to 'atexit' John Reiser 2017-12-30 17:20:01 -08:00
  • e04bf9e4bc more checking of PT_DYNAMIC John Reiser 2017-12-28 17:40:04 -08:00
  • c384d224c0 Mach-o stubs turn off DEBUG John Reiser 2017-12-27 10:23:19 -08:00
  • 35427f998e Mach-o stubs turn off SIMULATE_ON_LINUX_EABI4 John Reiser 2017-12-27 09:12:38 -08:00
  • 1174da2bc3 arm64 stubs use NBPW in TRACE etc John Reiser 2017-12-26 16:39:51 -08:00
  • 11e8a47030 DEBUG and TRACE for arm*-darwin.macho-* stubs John Reiser 2017-12-26 15:44:54 -08:00
  • 8c4e9bcf0d typo John Reiser 2017-12-26 15:43:58 -08:00
  • 9dfd624901 fix TRACE macro modified: stub/src/arm64-linux.elf-entry.S modified: stub/src/arm64-linux.elf-fold.S John Reiser 2017-12-26 15:43:01 -08:00
  • 79e65503a9 Merge branch 'devel' into jreiser-macho John Reiser 2017-12-26 10:41:26 -08:00
  • 59f18b9d9f stash work-in-progress John Reiser 2017-12-22 23:07:03 -08:00
  • fb3699fb89 stash work-in-progress John Reiser 2017-12-22 10:20:32 -08:00
  • 9d2d59b5d2 stash work-in-progress John Reiser 2017-12-19 21:19:53 -08:00
  • aefb2fa3c3 bad logic for throwCantUnpack("cmdsize") [simple] John Reiser 2017-12-19 17:36:22 -08:00
  • e8aa80f904 stash work-in-progress John Reiser 2017-12-19 17:32:15 -08:00
  • 990988f920 More checking of input Phdr and Shdr John Reiser 2017-12-18 10:36:43 -08:00
  • 576d9a4e7e stash work-in-progress John Reiser 2017-12-17 15:02:57 -08:00
  • 1d462ee424 MIPS shlib --lzma stub coding error: wrong register John Reiser 2017-12-14 11:17:01 -08:00
  • c9b09555c4 MH_PIE ASLR (Address-Space Layout Randomization) John Reiser 2017-12-13 11:15:10 -08:00
  • 860b5bf967 MH_EXECUTE diagnose syscall failure John Reiser 2017-12-13 10:53:22 -08:00
  • 5063480a38 MH_EXECUTE runs under lldb, fails under shell John Reiser 2017-12-13 09:54:44 -08:00
  • 3400ae9dbe MH_EXECUTE leave space for thread state command John Reiser 2017-12-12 10:53:19 -08:00
  • 3385264eb2 new DPRINTF John Reiser 2017-12-12 10:52:47 -08:00
  • 34646f1c6a fix braces in comment after #elif John Reiser 2017-12-12 10:51:38 -08:00
  • 50aa63a5a0 declare write() John Reiser 2017-12-12 10:50:50 -08:00
  • 64557bee43 Mach-o MH_EXECUTE rewrite; work-in-progress John Reiser 2017-12-09 20:18:39 -08:00
  • 7c21c4513e Android 64-bit ARM shared library stub: use 4Ki page size until more is known John Reiser 2017-12-08 20:05:21 -08:00
  • c6d6378005 Mach-o MH_EXECUTE rewrite; work-in-progress John Reiser 2017-12-06 17:04:47 -08:00
  • 4f6979967d Mach-o MH_EXECUTE rewrite; work-in-progress John Reiser 2017-12-03 23:17:55 -08:00
  • e633c51b50 off_t_upx_stub typedef enables easier use of native #include John Reiser 2017-11-28 14:49:46 -08:00
  • 143f0accef PeFile check MZ offset to PE header John Reiser 2017-11-21 13:07:42 -08:00
  • b413f3da26 ELF shared library: PT_NOTE can prevent packing John Reiser 2017-11-20 10:08:24 -08:00
  • 6eafa552bb Mach-o defend against bad crafted input John Reiser 2017-11-15 13:38:54 -08:00
  • 7a0514d9b4 PeFile more checks for Section table John Reiser 2017-11-12 21:47:47 -08:00
  • 7e7565299e PeFile check Section table John Reiser 2017-11-12 21:02:52 -08:00
  • ed34a089c6 minor update for a memory derefencing check László Molnár 2017-11-12 16:19:40 +01:00
  • d14a2c5282 PeFile fix the recently-added interval checking. John Reiser 2017-11-09 21:58:25 -08:00
  • f014406b65 MemBuffer.subref(errfmt, skip, take) checks that a subinterval is inside John Reiser 2017-11-09 21:55:41 -08:00
  • 58771ecca6 PeFile: better checking for import descriptors John Reiser 2017-11-08 12:38:54 -08:00
  • 5d9dcb634b PeFile: Defend against bad crafted import descriptors John Reiser 2017-11-08 11:07:46 -08:00
  • 19c2c1edcf Android 8.0 (Oreo) wants 0!=.e_shstrndx in a shared library John Reiser 2017-11-07 11:12:23 -08:00
  • 0430e7931e PowerPC64 stub: on syscall, real Linux trashes r13 and below John Reiser 2017-10-27 20:07:32 -07:00
  • bb8e607442 PowerPC64 musl 1.1.16 wants r12= .e_entry John Reiser 2017-10-27 13:19:03 -07:00
  • e61ada944d debug info for shared library on stderr under "-D" John Reiser 2017-10-25 21:32:17 -07:00
  • 46730315e3 stub arm64-linux.shlib-init.S saves 1 instr and checks for assembly errors John Reiser 2017-10-24 12:50:29 -07:00
  • 4869142034 arm64 stub for shared library uses AT_PAGESZ John Reiser 2017-10-23 18:55:28 -07:00
  • 8e42e17bbf typo John Reiser 2017-10-23 18:53:42 -07:00
  • 38c8b84a26 Align hatch_off. John Reiser 2017-10-20 17:23:55 -07:00
  • c652626a37 32-bit shared libs reduce Phdr[1].p_align to 4096, like 64-bit. John Reiser 2017-10-20 16:35:27 -07:00
  • 06f6e47ebf Fix stub for MIPS shared libraries John Reiser 2017-10-20 16:16:35 -07:00
  • 403b180b1d Compress shared libraries for mips and mipsel in ELF on Linux John Reiser 2017-10-19 13:47:36 -07:00
  • ee008acfbd amd64 implements --is_ptinterp John Reiser 2017-10-18 13:10:49 -07:00
  • d149092ac0 Reference to external documentation only. John Reiser 2017-10-17 14:11:06 -07:00
  • eafa136c69 Appease error C4146 unary minus operator applied to unsigned type, result still unsigned John Reiser 2017-10-17 08:44:08 -07:00
  • 402c885987 Merge branch 'jreiser-elfstub' into devel John Reiser 2017-10-14 14:26:11 -07:00
  • 5e7e0508b9 sync stubs for "make run-testsuite" John Reiser 2017-10-14 14:19:24 -07:00
  • ff1d5fb794 stub for 64-bit little-endian PowerPC also uses TOC John Reiser 2017-10-14 13:54:43 -07:00
  • ad3f63b5c4 stubs *.elf-main.c: tighten input to first decompress of ELF headers John Reiser 2017-10-14 06:21:44 -07:00
  • a3e51e6dee stub for PowerPC 64-bit big endian: accommodate musl bare .func as .e_entry John Reiser 2017-10-14 06:18:00 -07:00
  • c1b9c79f54 arm,armeb stubs need endian-neutral code to set mflg_subr John Reiser 2017-10-13 12:27:07 -07:00
  • e0bc040b0a mips stub uses new strategy John Reiser 2017-10-12 21:04:10 -07:00
  • 85eb4c7537 powerpc stub: used wrong register John Reiser 2017-10-11 17:17:45 -07:00
  • 1f929d47d0 x86_64 stub also needs make_hatch() John Reiser 2017-10-11 09:06:50 -07:00
  • 608662d73b x86_64 stub also needs make_hatch() John Reiser 2017-10-11 08:45:21 -07:00
  • 7841d23e77 arm64: folded stub uses 64-bit TRACEing under DEBUG John Reiser 2017-10-10 21:39:50 -07:00
  • b72dda4ada arm64 spills a few registers because syscall can trash x18 John Reiser 2017-10-10 20:31:11 -07:00
  • c59c8a1ea2 readability; no functional change John Reiser 2017-10-10 20:30:41 -07:00
  • 1522293be0 arm64: stub uses new strategy John Reiser 2017-10-10 14:51:03 -07:00
  • b37bc99330 PowerPC64: stub uses new strategy John Reiser 2017-10-07 13:43:12 -07:00
  • 7f905724b1 amd64: stub uses new strategy John Reiser 2017-10-06 11:15:34 -07:00
  • 2bf5bb1625 arm: stub uses new strategy John Reiser 2017-10-05 17:07:30 -07:00
  • 08d3376740 Elf i386 stub: get enough space when unfolded code requires another page John Reiser 2017-10-03 11:48:27 -07:00
  • 7bace76176 Protect against bad crafted input. John Reiser 2017-10-03 09:55:34 -07:00
  • ef336dbcc6 Protect against bad crafted input. John Reiser 2017-10-02 21:47:40 -07:00
  • ca7217e717 powerpc: stub uses new strategy John Reiser 2017-10-02 20:03:47 -07:00
  • 3931cb7871 off_t is signed and long; keep the long when discarding the signed. John Reiser 2017-10-01 16:14:09 -07:00
  • 9e8de4abe5 i386: new stub strategy to avoid problems with early mmap layout John Reiser 2017-10-01 15:56:34 -07:00
  • 26be845563 mips stubs: implement ET_DYN (-pie). John Reiser 2017-09-26 10:05:22 -07:00
  • 2f11a629fa Fix flub: "git --amend" after "git push" is not a good idea. John Reiser 2017-09-25 11:43:38 -07:00
  • a295437e11 Merge branch 'devel' of https://github.com/upx/upx into devel John Reiser 2017-09-25 11:39:13 -07:00
  • 04597fb804 Fix bug in unfilter for shlib on arm64. John Reiser 2017-09-25 11:31:44 -07:00
  • f2f002409b Fix bug in unfilter for shlib on arm64. John Reiser 2017-09-25 11:31:44 -07:00
  • 509de877ca Cleanup powerpc64 aux stub files. John Reiser 2017-09-24 20:30:07 -07:00
  • 63aea4a7dc 64-bit Power PC linux uses 64KiB page size, but qemu-ppc64{,le} uses 4KiB. John Reiser 2017-09-24 20:24:46 -07:00
  • 6470c748db Flush ACC_UNUSED(adrc); and its predecessors from stub for MIPS. John Reiser 2017-09-24 20:07:31 -07:00
  • 25a6429e6a Merge branch 'devel' of https://github.com/upx/upx into devel John Reiser 2017-09-23 10:43:14 -07:00
  • 4fa1c2a97e Avoid the stack in stub for PowerPC, especially under qemu-ppc. John Reiser 2017-09-23 10:41:40 -07:00
  • 9ad39d77cc Update Travis. Markus F.X.J. Oberhumer 2017-09-21 08:23:35 +02:00
  • 92527126a8 Adapt around qemu-arm placement of ET_DYN and stack. John Reiser 2017-09-20 15:23:12 -07:00
  • 02b4a4c974 Sync testsuite checksums. John Reiser 2017-09-20 13:37:38 -07:00
  • ede570be21 Spend 8 instructions to avoid modifying [0xf7000000, +) under qemu-arm. John Reiser 2017-09-20 13:31:38 -07:00
  • 08627e9df5 Fix some AT_PHDR problems, at least on x86*. John Reiser 2017-09-18 19:54:27 -07:00
  • 6d9f3adc86 Escape hatch for Thumb-mode shared library must reside at even address. John Reiser 2017-09-13 22:38:24 -07:00
  • 96433b4e39 FILTER_ID was wrong for arm64-linux.shlib and arm64-darwin.macho. John Reiser 2017-08-25 12:51:33 -07:00
  • f4947cc2ae Work-around Ubuntu runtime bug loading shlib on ARM. John Reiser 2017-08-24 19:52:30 -07:00
  • 7b554d4f72 ucl-1.03 needs help for recent gcc and for native on aarch64. John Reiser 2017-08-23 05:47:16 -07:00
  • 5b54544438 Fix powerpc64 (BIG_ENDIAN and comments) John Reiser 2017-07-26 11:16:02 -07:00
  • ef78d23494 Update Travis and check_whitespace.sh. Markus F.X.J. Oberhumer 2017-07-23 02:22:42 +02:00
  • ef8a7f330d Silence some compiler warnings. Markus F.X.J. Oberhumer 2017-07-23 02:44:47 +02:00
  • b72e0f3060 Disable debugging section. Markus F.X.J. Oberhumer 2017-07-23 02:27:03 +02:00