Commit Graph

  • c1311c78a3 Extra space to force "git commit" to force rebuild for tagging Issue John Reiser 2022-05-30 15:19:18 -07:00
  • 717150b7f3 Stupid MSVC: bad C4706: assignment within conditional expression John Reiser 2022-05-30 15:09:34 -07:00
  • a68c62d938 More placate compilers John Reiser 2022-05-30 15:02:53 -07:00
  • c11f8a569a Placate 'clang' -Wcast-align John Reiser 2022-05-30 14:55:39 -07:00
  • 03436d2415 Bug in handling DT_GNU_HASH table. John Reiser 2022-05-30 14:24:21 -07:00
  • 4ae75375e0 LC_BUILD_VERSION etc for XCode 13+ John Reiser 2022-05-30 01:05:09 -07:00
  • 2721ef0636 ElfLinker::init() allows symbols and relocations (but not Sections) to be empty John Reiser 2022-05-04 13:29:36 -07:00
  • 7a232cb330 Allow qemu on host with smaller PAGE_SIZE. Sync stubs. John Reiser 2022-03-25 09:13:10 -07:00
  • 52f19ae330 Cleanup powerpc64le-linux.elf-*.S (forgotten when powerpc-linux.elf*.S) John Reiser 2022-03-24 19:14:56 -07:00
  • 275477f914 ElfLinker::addSection omits "ABS*" and "UND*" sections John Reiser 2022-03-24 19:09:09 -07:00
  • 2ed6755d5d Sync stubs John Reiser 2022-03-22 19:27:27 -07:00
  • 78c555b4a6 Handle old-style compressed main programs when de-compressing John Reiser 2022-03-22 19:20:09 -07:00
  • a127125707 Comment the breakpoint instructions for faster analysis by 'grep' John Reiser 2022-03-22 19:18:19 -07:00
  • f853f91c5b Placate clang re: missing 'override' John Reiser 2022-03-22 19:16:15 -07:00
  • e7ca5c54ff Fix --brute for p_lx_elf.cpp, which compresses multiple pieces John Reiser 2022-03-22 11:46:25 -07:00
  • 663d6b466b WIP: clarify compressWithFilters; reduce size of obuf for PackLinuxElf64 John Reiser 2022-03-21 13:49:46 -07:00
  • 0e2a9de2b2 Empty commit to force re-build Action John Reiser 2022-03-14 15:51:09 -07:00
  • 34df0d6ef1 More empty HASH and/or GNU_HASH when Rust-musl John Reiser 2022-03-12 14:21:51 -08:00
  • 540164849b whitespace John Reiser 2022-03-01 16:05:37 -08:00
  • 252143d0bb WIP: smallest executable on Apple M1 (aarch64 or arm64) John Reiser 2022-03-01 15:06:58 -08:00
  • 480ab51650 Evade poratbility constraints of UPX build system John Reiser 2022-03-01 11:12:19 -08:00
  • 972c76eb42 Tool for snipping loader_commands in Mach-O on Apple M1 (aarch64) on BigSur. John Reiser 2022-02-28 19:53:25 -08:00
  • e5aeea9ed2 Check more carefully in invert_pt_dynamic() John Reiser 2022-02-28 07:55:49 -08:00
  • f204670008 Mach unpack checks for bad load_command in compressed input John Reiser 2022-02-25 10:17:04 -08:00
  • 651155c64d Check Mach_header.ncmds at unpack John Reiser 2022-02-25 09:32:29 -08:00
  • 660aee6d22 More checking for unpack of tampered Elf_Phdr John Reiser 2022-02-25 09:23:55 -08:00
  • a646231630 aligned_sotls, per Laszlo John Reiser 2022-02-07 08:39:13 -08:00
  • 1050de5171 Native alignment for the "load config" table John Reiser 2022-01-15 06:45:47 -08:00
  • b7a5b9437a Fix checking of sh_name versus shstrsec->sh_size John Reiser 2022-01-01 14:20:18 -08:00
  • 620955a724 PE: Fix has_oxrelocs (TLS always has oxrelocs) Kornel Pal 2021-12-31 20:45:28 +01:00
  • 2e64a277f8 Fix headway during optimizeReloc() John Reiser 2021-12-31 10:27:58 -08:00
  • ea567a8b14 Check when optimizeRelocs() John Reiser 2021-12-29 16:57:52 -08:00
  • be23f93ee6 upx_uint8_t John Reiser 2021-12-27 08:49:05 -08:00
  • fcdf0e92c1 Use upx_uint32_t, upx_uint64_t John Reiser 2021-12-27 08:33:54 -08:00
  • 2d6987252e is_bad_linker_command() John Reiser 2021-12-27 08:14:19 -08:00
  • 4a9c46253e Validate input LC_ commands in order to defend against fuzzers John Reiser 2021-12-26 19:40:34 -08:00
  • 5bcf9dd8af Do not complain for minimal DT_GNU_HASH as by Rust. John Reiser 2021-12-25 12:39:31 -08:00
  • 284adb203f Better checking of DT_HASH.nbuckets John Reiser 2021-12-24 15:52:16 -08:00
  • adafa841f7 Some PT_LOAD must have (p_flags & PF_X) John Reiser 2021-12-24 15:32:19 -08:00
  • fdc5d25d03 Require DT_STRSZ John Reiser 2021-12-24 15:08:22 -08:00
  • 294a7077de Announce support for EFI files (PE x86) John Reiser 2021-12-24 15:05:53 -08:00
  • 990d0ec543 PE: Remove duplicate oxrelocs write Kornel Pal 2021-12-22 05:07:54 +01:00
  • bb90c4dff4 Sync PE stubs John Reiser 2021-12-24 07:34:06 -08:00
  • 00e3d992e8 Sync stubs Kornel Pal 2021-12-22 03:05:53 +01:00
  • 937bfa4e49 PE: Add support for EFI images Kornel Pal 2021-12-22 03:05:24 +01:00
  • 1d9c211eed PE: Make imports in decompressor stub optional Kornel Pal 2021-12-22 03:00:17 +01:00
  • 76ddf6b8da PE: Add position independent decompressor stub for i386 Kornel Pal 2021-12-22 02:58:09 +01:00
  • 7f1f29b0d8 PE: Remove empty non-compressed section Kornel Pal 2021-12-22 02:57:10 +01:00
  • 222471744f PE: Remove file alignment restriction Kornel Pal 2021-12-22 02:56:09 +01:00
  • cc100be26e PE: Fix stripped relocation handling Kornel Pal 2021-12-22 02:55:33 +01:00
  • 966b571b7c PE: Use no red zone on AMD64 Kornel Pal 2021-12-16 06:59:26 +01:00
  • f3e710394a PE: Set header size on 64-bit too Kornel Pal 2021-12-16 06:57:39 +01:00
  • bfd1f1fbfa PE: Fix relocation parsing and validation Kornel Pal 2021-12-16 06:56:01 +01:00
  • a09146b5e0 unreferenced variable breaks build Efreak 2021-12-02 14:00:40 -08:00
  • bbf2b08f48 Update testsuite with new signatures for i386-linux.elf John Reiser 2021-12-03 08:53:08 -08:00
  • e2dbc661f1 Sync stub John Reiser 2021-12-03 08:38:26 -08:00
  • 7626e09f66 Fix jl ==> jb (unsigned compare) John Reiser 2021-12-03 08:27:23 -08:00
  • 248a6980cf Revert -std=c++14 Kirill A. Korinsky 2021-11-27 13:22:54 +01:00
  • f956bfc797 Allow slack for non-GLIBC tool chains versus -Wzero-as-null-pointer-constant John Reiser 2021-11-27 06:58:38 -08:00
  • 6da79783ea PE: Handle empty imports bitraid 2021-05-15 21:41:31 +03:00
  • 22329e0ab2 trim excess whitespace a1346054 2021-08-22 11:23:41 +00:00
  • a94b0329c9 update codestyle in travis scripts to conform to guidelines a1346054 2021-08-22 11:21:28 +00:00
  • be8601f8cc use grep -E instead of egrep a1346054 2021-08-22 11:19:38 +00:00
  • bd441e83ae WIP: de-compression of old-style shlib John Reiser 2021-09-06 08:43:20 -07:00
  • 02bd9cc403 IMAGE_SUBSYSTEM_EFI_APPLICATION John Reiser 2021-09-06 08:38:51 -07:00
  • c9f6a3583c WIP 64-bit shlib John Reiser 2021-08-07 06:45:01 -07:00
  • 076aaf829a WIP: Elf64 shlib compress+decompress seems to work John Reiser 2021-07-05 13:47:19 -07:00
  • 85f0c5a445 WIP: Elf64 shlib cleanup John Reiser 2021-07-02 18:33:38 -07:00
  • d5263a56ce WIP: handling shared library John Reiser 2021-05-22 16:03:53 -07:00
  • ef5b55b4d1 sync stubs John Reiser 2021-05-16 10:14:03 -07:00
  • d65e65b2b1 Update CI. Markus F.X.J. Oberhumer 2021-05-15 07:24:16 +02:00
  • 6aa641e5aa Update submodules. Markus F.X.J. Oberhumer 2021-05-15 06:03:48 +02:00
  • 504839951a arm64 clear_cache at end of de-compress John Reiser 2021-05-16 09:53:03 -07:00
  • d55746f62d PE: disable CFG and compress with --force bitraid 2021-05-01 18:05:27 +03:00
  • 144010295e Improve --strip-relocs bitraid 2021-04-25 20:15:07 +03:00
  • 181c752488 WIP: un_shlib_1 John Reiser 2021-05-08 11:14:31 -07:00
  • bd4aca5c12 generated stub files John Reiser 2021-05-07 11:15:41 -07:00
  • ad6d73c875 /proc/self/auxv for AT_PAGESZ because musl calls _init with no args John Reiser 2021-05-07 09:36:07 -07:00
  • c5cc83d424 Fix unoptimizeReloc() to process all relocs bitraid 2021-04-21 23:06:55 +03:00
  • fe949bdf67 Build: Enable wildcard argument expansion for msvc bitraid 2021-04-12 11:20:13 +03:00
  • 766fe466d6 PAGE_SIZE varies: Apple M1 uses 16K John Reiser 2021-04-11 15:19:24 -07:00
  • 333a288248 shlib: Don't compress below xct_off (except Elf headers) John Reiser 2021-04-11 15:16:34 -07:00
  • 613df414ed Fix off-by-1 in invert_pt_dynamic; SHT_NOBITS occupies no space John Reiser 2021-04-11 15:09:55 -07:00
  • be050693f2 PackLinuxElf::canUnpack must checkEhdr() for ELF input John Reiser 2021-04-10 10:11:48 -07:00
  • bf957f435e fix issue 486 goushibee 2021-04-07 15:40:13 +08:00
  • 3a6f688265 Sync testsuite checksums for PE: fix SizeOfHeaders John Reiser 2021-04-10 08:51:27 -07:00
  • 1084a7896c Add default goal Sebastien Rosset (serosset) 2021-04-03 13:08:01 -07:00
  • 9ea2b31541 PE: fix SectionHeadersSize of SizeOfHeaders value bitraid 2021-04-06 22:49:31 +03:00
  • 09da986742 build instructions Sebastien Rosset (serosset) 2021-04-03 11:57:05 -07:00
  • cb70a5fef5 Enable usual grep for function definition John Reiser 2021-04-03 12:46:20 -07:00
  • 4fa6a6aeef Sync testsuite checksums for PE: fix SizeOfHeaders John Reiser 2021-04-02 19:37:29 -07:00
  • ab31e8dde9 testsuite: change exit code to 98 for FATAL decompression checksum mismatchs. Markus F.X.J. Oberhumer 2021-03-28 22:06:42 +02:00
  • 53d7b5449f testsuite: change exit code to 99 for checksum mismatchs. Markus F.X.J. Oberhumer 2021-03-28 21:49:32 +02:00
  • d33a34f016 Revert some changes from previous commit to pacify clang -Winconsistent-missing-override warnings. Markus F.X.J. Oberhumer 2021-03-28 21:40:13 +02:00
  • f6ff5a2805 Cleanups: start working on -Wsuggest-override, add some "final". NFCI. Markus F.X.J. Oberhumer 2021-03-28 21:19:29 +02:00
  • 1518e5bc98 PE: fix SizeOfHeaders value of Optional Header field bitraid 2021-03-25 21:41:49 +02:00
  • 78f48d65d5 Allow 0==nbucket for DT_HASH, DT_GNU_HASH John Reiser 2021-03-25 07:22:01 -07:00
  • b81ec224b7 Fix headway argument to invert_pt_dynamic() John Reiser 2021-03-25 07:10:40 -07:00
  • 4be6cfebcd get_te32() when checking DT_GNU_HASH chains (MIPS .so) John Reiser 2021-03-23 18:21:45 -07:00
  • 98973dd8b9 get_te32() when checking DT_HASH chains (MIPS .so) John Reiser 2021-03-23 06:45:01 -07:00