Commit Graph

  • 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
  • 1218b6ff2a Check more in invert_pt_dynamic John Reiser 2021-03-16 18:46:11 -07:00
  • ba5c77c9e5 Reject if MZ and PE headers overlap John Reiser 2021-03-14 15:20:15 -07:00
  • cbaedffce2 ci: make artifacts for all builds jsm174 2021-03-09 09:36:08 -05:00
  • cb60603950 Turn off BUILD_TYPE_DEBUG to enable CI build amd64-win64-gcc-9 to pass. John Reiser 2021-03-07 09:33:16 -08:00
  • 0a69e7803b Fix errors detected by "make run-testsuite". John Reiser 2021-03-06 15:31:56 -08:00
  • baa9090198 Change back to lzma-sdk d5bed9963d051c9e5690b12199eab6884a592c43 John Reiser 2021-03-06 12:05:23 -08:00
  • e78a08b8fc change lzma-sdk to latest commit 44db23cc6d6b607986dace07b17fece1af925558 on its master John Reiser 2021-03-06 10:46:40 -08:00
  • 7e5e6012df PackMachFat::canPack handles case PackMachFat::CPU_TYPE_ARM64 John Reiser 2021-03-06 09:59:51 -08:00
  • 0a1d24d1d9 Remove nit from PackLinuxElf64::generateElfHdr [address sanitizer] John Reiser 2021-03-05 16:33:25 -08:00
  • 35555bfb8a WIP: PackLinuxElf64::unpack working for shared libraries (non-Android) John Reiser 2021-03-05 16:20:36 -08:00
  • c9cb42df40 WIP: hacking un_shlib_1 John Reiser 2021-02-28 17:12:20 -08:00
  • 2be03028f4 WIP: un_shlib_1 John Reiser 2021-02-27 19:27:12 -08:00
  • 214dd0a522 4 fewer bytes of code? John Reiser 2021-02-23 02:24:24 -08:00
  • 182e0796df Split PackLinuxElf64::unpack for main program vs shared library John Reiser 2021-02-22 16:15:03 -08:00
  • fb844a8ed1 total_in, total_out move to PackUnix John Reiser 2021-02-22 16:13:40 -08:00
  • 6be3e747ca Remove unrelated debugging John Reiser 2021-02-15 11:40:04 -08:00
  • 23f63e4196 WIP unpacking ELF shared library John Reiser 2021-01-15 14:11:09 -08:00
  • fd6837b267 Another checkAlreadyPacked() John Reiser 2021-02-26 15:15:28 -08:00
  • 1c29f921e0 getSizeForCompression worst cases John Reiser 2021-02-25 20:04:16 -08:00
  • 1ab6e01de2 MacOS BigSur wants no MH_DYLDLINK for our MH_EXECUTE John Reiser 2021-02-14 13:23:19 -08:00
  • 801618740c CI: fix current Ubuntu problem. Markus F.X.J. Oberhumer 2021-02-01 13:06:49 +01:00
  • 2469563b26 Mach_ARM64_thread_state padded to (0 mod 8) John Reiser 2021-01-30 16:11:32 -08:00
  • 00139caf43 More robust PackWcle::decodeFixups() John Reiser 2021-01-23 15:37:52 -08:00
  • 21d102c84f Better checking of Mach_header.ncmds, .sizeofcmds John Reiser 2021-01-23 13:52:54 -08:00
  • f17d9967c2 Clarify comment in previous commit John Reiser 2021-01-20 05:54:53 -08:00
  • 0569ef37ba add comment explaining code as per PR review Liam Murphy 2021-01-20 02:29:08 +00:00
  • 984334c9a1 reset done_output_name counter upx_main() Liam Murphy 2021-01-18 00:16:49 +00:00
  • 34a25e61c7 "%zx" for ptrdiff_t in hex printf John Reiser 2021-01-17 19:36:36 -08:00
  • ed3f45953e Try not to run off the end of selfrel_fixups. John Reiser 2021-01-17 19:21:32 -08:00
  • 80de11bc5b Detect Mach_header.sizeofcmds==0 John Reiser 2021-01-17 17:09:35 -08:00
  • c9fe84c9aa Typo fixed (line 61) Darío Hereñú 2021-01-09 14:04:47 -03:00
  • 5f98bb0ab0 De-compress allows old-style LC_UNIXTHREAD with one LC_SEGMENT John Reiser 2021-01-15 15:03:26 -08:00
  • d86d5314ba Modernize libc usage: more cleanups. Markus F.X.J. Oberhumer 2021-01-05 22:03:29 +01:00
  • 700c8730cf Modernize libc usage: stop using off_t, use modern printf. Markus F.X.J. Oberhumer 2021-01-05 18:52:05 +01:00
  • b4429e1a42 CI: add sanitizer builds. Markus F.X.J. Oberhumer 2021-01-04 22:03:23 +01:00
  • a8fa3ca5cf Use correct native types with "alignas(1)". Markus F.X.J. Oberhumer 2021-01-04 21:13:49 +01:00
  • 9aef7b0d6f Use C++ 14 alignas(), init some struct fields just because of good practice. Markus F.X.J. Oberhumer 2021-01-04 21:02:07 +01:00
  • 2575eef3c0 clang-format more files. Markus F.X.J. Oberhumer 2021-01-04 20:26:31 +01:00
  • 8236276a90 Add and use .clang-format file. Markus F.X.J. Oberhumer 2021-01-04 19:07:17 +01:00
  • fdc68812c5 clang-format-10.0.1 files. Markus F.X.J. Oberhumer 2021-01-04 17:27:48 +01:00
  • 9db6d18d11 Now using upx-stubtools 20210104 with new clang-format-10.0.1. Markus F.X.J. Oberhumer 2021-01-04 17:23:57 +01:00
  • f962afe146 Various cosmetic updates and refactors. NFCI. Markus F.X.J. Oberhumer 2021-01-04 17:20:57 +01:00
  • adcd569852 Makefile: update default sanitizer flags. Markus F.X.J. Oberhumer 2021-01-04 17:20:06 +01:00
  • d045b7f223 Update bele.h to better work with modern compilers. Markus F.X.J. Oberhumer 2021-01-02 16:45:58 +01:00
  • 57cb6a7530 CI: add mingw64 build. Markus F.X.J. Oberhumer 2021-01-02 01:03:24 +01:00
  • baa1ed9be3 Update CI to use lastest zlib. Update Makefile. Markus F.X.J. Oberhumer 2021-01-01 23:24:31 +01:00
  • 16af6e1a29 Update testsuite checksums caused by version bump. Markus F.X.J. Oberhumer 2021-01-01 20:52:07 +01:00
  • 0af8998be6 Bump version date. Markus F.X.J. Oberhumer 2021-01-01 20:45:11 +01:00
  • c32f517fa5 Remove obsolete PROJECTS file. Markus F.X.J. Oberhumer 2021-01-01 20:43:34 +01:00