Commit Graph

  • eff1ef2d70 Fix amd64 shared libraries John Reiser 2025-02-13 17:22:37 -08:00
  • 782b07c752 PPC64 check ehdri.e_ident[EI_DATA], not elfout John Reiser 2025-02-12 08:56:18 -08:00
  • bd67677389 Honor dos_header_t.e_cparhdr for small header John Reiser 2025-02-11 10:29:53 -08:00
  • 8c9e04daaf Propagate .e_ident[EI_ABIVERSION] John Reiser 2025-02-07 19:24:46 -08:00
  • bddc05e787 Fix elf_lookup() defenses against fuzzed DT_HASH John Reiser 2025-02-01 13:22:26 -08:00
  • a49d023bd0 Detect too-short Mach_command, also be careful in recovery John Reiser 2025-01-31 11:34:48 -08:00
  • 7b06ba0b78 Detect empty DT_STRTAB John Reiser 2025-01-31 11:32:48 -08:00
  • 344b73dab0 invert_pt_dynamic defends against missing DT_STRTAB or DT_STRSIZ John Reiser 2025-01-30 11:42:09 -08:00
  • 0870514194 elf_lookup must defend against bad chain in hash table John Reiser 2025-01-30 10:56:45 -08:00
  • 0a61ffea3a submodules: update for new versions Markus F.X.J. Oberhumer 2025-01-30 00:05:15 +01:00
  • fbc650791d CI updates Markus F.X.J. Oberhumer 2025-01-29 22:19:21 +01:00
  • 4b41aa1226 CI updates Markus F.X.J. Oberhumer 2025-01-29 16:11:03 +01:00
  • 3fd68d3ec6 CI updates Markus F.X.J. Oberhumer 2025-01-27 18:11:44 +01:00
  • d41ceb0d31 ARM64: move Psync closer to PAGE_MASK John Reiser 2025-01-26 18:43:14 -08:00
  • aee970e80b Allow empty .rsrc Section in PE file John Reiser 2025-01-24 07:45:05 -08:00
  • ef8a24ba53 CI updates. Closes #862. Markus F.X.J. Oberhumer 2025-01-21 21:16:01 +01:00
  • 2edf91d315 testsuite: update checksums caused by version bump Markus F.X.J. Oberhumer 2025-01-17 22:06:55 +01:00
  • 9fe377b288 all: version bump Markus F.X.J. Oberhumer 2025-01-17 21:50:38 +01:00
  • 996ca8d17d all: welcome 2025 Markus F.X.J. Oberhumer 2025-01-17 21:18:55 +01:00
  • b356595eb5 CI updates Markus F.X.J. Oberhumer 2025-01-17 21:15:43 +01:00
  • e4668e5328 CI updates Markus F.X.J. Oberhumer 2025-01-08 12:57:52 +01:00
  • a846e483be clang-format uglifies again John Reiser 2025-01-02 12:05:59 -08:00
  • f6e3df69eb stub/amd64-win64.pe.h matches upx-v4.2.4 John Reiser 2025-01-02 11:47:34 -08:00
  • 1a6c1f0589 Fix unpackExtent() of non-compressible extent (PT_LOAD) John Reiser 2024-12-30 16:49:31 -08:00
  • e3e5d8a3a5 Try again for Android Elfxx_Shdr John Reiser 2024-12-23 11:20:26 -08:00
  • 505f6b7373 Remove PROT_WRITE from de-compressed folded code. John Reiser 2024-12-23 10:52:07 -08:00
  • 7d907d9d65 is_asl handles per-file opt->o_unix.android_shlib John Reiser 2024-12-17 17:17:24 -08:00
  • d00ba4b465 Forgotten file John Reiser 2024-12-12 11:13:12 -08:00
  • d4deb2a100 Psync: msync demands page-aligned first argument John Reiser 2024-12-12 10:50:30 -08:00
  • 5999b0a959 Unused get_page_mask but satisfies external for upxfd_*.c John Reiser 2024-12-10 17:10:27 -08:00
  • e2f1e6697a Stubs for shared libraries on amd64-linux.elf and arm64-linux.elf John Reiser 2024-12-10 16:49:35 -08:00
  • baee96347d CI updates Markus F.X.J. Oberhumer 2024-12-11 07:54:48 +01:00
  • f60d8f6d18 Fix MIPS stubs John Reiser 2024-12-09 14:26:00 -08:00
  • d3300e9564 Sync stubs John Reiser 2024-12-09 13:33:21 -08:00
  • 877390a2ba FIx MIPS stubs John Reiser 2024-12-09 13:26:22 -08:00
  • 5afe2af365 EINVAL whitespace John Reiser 2024-12-07 09:46:42 -08:00
  • 5028d559c5 msync for *-so_fold.S John Reiser 2024-12-07 09:39:45 -08:00
  • deda4f1bae Sync stubs John Reiser 2024-12-07 08:56:34 -08:00
  • 927a9d10a7 zig -musleabihf default -mdouble-float conflicts -msoft-float John Reiser 2024-12-07 08:53:30 -08:00
  • ad96cee14c Unify prep_SELinux and upx_so_main John Reiser 2024-12-07 08:41:22 -08:00
  • f95bb4953f CI updates: target ".2.3.4" invalid; "*-linux-musl" appends "eabi" John Reiser 2024-12-05 11:30:05 -08:00
  • 8c594de432 Sync stubs John Reiser 2024-12-05 11:08:41 -08:00
  • 330ac2443c help_umf.S for MIPS and PPC John Reiser 2024-12-05 11:06:09 -08:00
  • ebe6272ac7 whitespace John Reiser 2024-12-05 08:25:02 -08:00
  • 982e732b74 Allow re-ordering of functions in upxfd_android.c and upxfd_linux.c John Reiser 2024-12-04 17:00:37 -08:00
  • 27de5f42bb Sync stubs John Reiser 2024-12-03 11:52:13 -08:00
  • 37dff58289 powerpc-linux.elf-entry.S does not need UMF_LINUX John Reiser 2024-12-03 11:50:21 -08:00
  • fc9d90c231 Revamp building stubs for MIPS John Reiser 2024-12-03 10:37:19 -08:00
  • 68b31d31c3 msync() and UMF_LINUX fiddling John Reiser 2024-12-03 10:36:14 -08:00
  • f7f08be312 get_te64_32() fetches 64 bits, checks and returns 32 John Reiser 2024-12-03 10:28:01 -08:00
  • d14901548a Unique label sysgo_incl; fix #define that might capture trailing '//' John Reiser 2024-12-03 10:21:07 -08:00
  • 6ebdf92d40 Update ZIG version; fix extra leading space John Reiser 2024-12-03 10:17:36 -08:00
  • abced6720b clang-format {silly) John Reiser 2024-12-02 08:08:51 -08:00
  • f4604db164 Stub msync() on PF_X before munmap() John Reiser 2024-11-30 13:58:40 -08:00
  • 8327c390cf Stack 0x10 aligned at all times John Reiser 2024-11-30 13:57:46 -08:00
  • bd251c0dbd Stub for 64-bit shlib John Reiser 2024-11-28 19:10:27 -08:00
  • d04209d30f Unify 32-bit and 64-bit ::buildLinuxLoader John Reiser 2024-11-28 19:09:46 -08:00
  • 8782778eb3 stub *-linux.elf-entry.S often must define label upx_mmap_and_fd John Reiser 2024-11-26 19:43:14 -08:00
  • c8515ae862 Unify PackLinuxElf64::pack2_shlib* with 32-bit John Reiser 2024-11-26 16:44:35 -08:00
  • a2fa417af9 Unify 64-bit upx_main() stub for shlib with 32-bit i386 John Reiser 2024-11-26 16:43:02 -08:00
  • 93f420939e ElfW() John Reiser 2024-11-25 11:52:43 -08:00
  • 88cd02d750 get_te64_32() gets 4-bit value, then detects 32-bit overflow John Reiser 2024-11-25 10:45:54 -08:00
  • a35e50c02a ZIG_DIST_VERSION: 0.14.0-dev.2271+f845fa04a John Reiser 2024-11-21 13:06:06 -08:00
  • 566c1eebd2 sync stubs John Reiser 2024-11-21 11:20:32 -08:00
  • 65c3195b39 Cleanup stub for mips and powerpc John Reiser 2024-11-20 15:28:41 -08:00
  • 76b0b4ce9c Fix mips stub for ELF2 main program John Reiser 2024-11-20 15:02:32 -08:00
  • 02b9ac9764 Name it upx_main2() for clarity John Reiser 2024-11-20 15:00:11 -08:00
  • 17b94cdfe5 Cleanup remaining *.lds linker scripts for stubs John Reiser 2024-11-20 14:52:22 -08:00
  • 83166e21a5 PackLinuxElf64::unpack forgot some get_te* John Reiser 2024-11-19 19:38:29 -08:00
  • b4ea89f9d6 check-whitespace, clang-format John Reiser 2024-11-19 09:13:44 -08:00
  • 00706f0ccc Sync stubs ("make testsuite" passes) John Reiser 2024-11-19 08:55:31 -08:00
  • 3798dde3aa Fix stubs in arm,mips,powerpc for upx_mmap_and_fd John Reiser 2024-11-19 08:44:48 -08:00
  • 5bf2258505 filter strategy option to build no loader at all John Reiser 2024-11-18 16:17:37 -08:00
  • 33b9c68677 upx_fd_android.c John Reiser 2024-11-18 16:15:06 -08:00
  • 58d9b00a0a Revamp 32-bit stub/src/*-linux.elf-so_main.c John Reiser 2024-11-18 16:12:44 -08:00
  • 7ef018fed0 Option --android-oid for Android < 10 John Reiser 2024-11-18 16:06:45 -08:00
  • 3d9fc7ab53 Clarify call to upx_compress(); NFC John Reiser 2024-11-18 16:04:48 -08:00
  • 3d6b2e4617 Cleanup stub/*.lds linker scripts John Reiser 2024-11-18 16:00:36 -08:00
  • 886e325cbf EXP_TAIL goes after de-compressors, and before UMF_LINUX John Reiser 2024-11-14 19:22:28 -08:00
  • 60bdffee84 make_hatch() has uniform calling sequence John Reiser 2024-11-14 11:19:10 -08:00
  • a9dc43f7fb PackLinuxElf32::generateElfHdr, PackLinuxElf64::buildLinuxLoader John Reiser 2024-10-26 10:53:28 -07:00
  • 0cc0e51d5d PackLinuxElf64::canPack_Shdr John Reiser 2024-10-26 10:02:14 -07:00
  • 14d75b222f -DWINDOWS_BACK=1 for PE John Reiser 2024-10-26 09:52:12 -07:00
  • b10d2b7365 lodsb is OK to use in branch filter John Reiser 2024-10-26 09:50:38 -07:00
  • 8aa3679323 upx_mmap_and_fd John Reiser 2024-10-26 09:49:26 -07:00
  • 3403b87cb7 More Control Flow Integrity (Intel) John Reiser 2024-09-20 13:41:43 -07:00
  • d55fdf2205 ZIG_DIST_VERSION of 2024-09-17 John Reiser 2024-09-17 01:55:08 -07:00
  • 7cb3f40dab WIP: variable page size for xfind_pages(); debug arm32 Android shlib John Reiser 2024-08-29 16:46:17 -07:00
  • 65c362efce MSVC lacks stpcpy() John Reiser 2024-08-26 16:43:58 -07:00
  • 8065eebca3 --android-shlib for arm32 and i386 John Reiser 2024-08-25 14:55:55 -07:00
  • 7f062c7ca5 Variable page size: spread the word by using 'page_' instead of 'PAGE_' John Reiser 2024-08-19 14:18:55 -07:00
  • 0adad4a053 ELF2 after successful ANDROID_TEST of upxfd_android.c on i386 and arm32 John Reiser 2024-08-17 17:18:10 -07:00
  • cb39e6e0b8 ELF2: stub for i386 shared library John Reiser 2024-08-12 07:53:00 -07:00
  • 94eebc3ee5 ELF2: arm32 shared libraries; runs on Android 14 under TermUX John Reiser 2024-08-09 13:03:26 -07:00
  • 5d5f4d1765 Elf2: Android on ARM 64-bit and 32-bit main program runs John Reiser 2024-08-04 16:38:03 -07:00
  • ed0665407a More: prefer movzbl over movb fetch to register John Reiser 2024-08-02 13:02:19 -07:00
  • 3869a67180 Intel CET (Control-flow Enforcement Technology) John Reiser 2024-08-02 12:56:09 -07:00
  • 7e75491e88 Macho" begin catch-up to ELF by defining labels eof_n2* John Reiser 2024-07-31 18:57:12 -07:00
  • ca33d66816 Sync stub checksums; and i386-linux and arm64-linux generated files John Reiser 2024-07-31 09:30:06 -07:00
  • 055e3db80a i386-linux stub: Use current __NR_uname; pacify memcheck John Reiser 2024-07-31 09:25:12 -07:00