Commit Graph

  • 4ee62cbd52 Merge pull request #269 from telent/endianness-fix-for-shrink-rpath Domen Kožar 2021-08-05 12:03:48 +02:00
  • 4e1b46a334 fix tests DIST Domen Kožar 2021-08-05 12:03:39 +02:00
  • a71fa6b341 Merge pull request #290 from ius/endianness-fix Domen Kožar 2021-08-05 11:56:04 +02:00
  • f823fa3143 Merge branch 'master' into endianness-fix Domen Kožar 2021-08-05 11:55:53 +02:00
  • add92c1fe7 Merge pull request #235 from emlix/cleanups Domen Kožar 2021-08-04 15:45:27 +02:00
  • 1e1544a8ab Merge pull request #293 from ovpanait/master Domen Kožar 2021-08-04 15:43:17 +02:00
  • 9592fdf3a1 Merge pull request #275 from rpurdie/master Domen Kožar 2021-08-04 15:43:07 +02:00
  • d2bb23badf tests: add testcase for alignment issues with contiguous note sections Ovidiu Panait 2021-07-21 22:31:07 +03:00
  • 4d03718b17 Revert "tests: add testcase for alignment issues with contiguous note sections" Domen Kožar 2021-08-03 16:30:13 +02:00
  • b6c73c4c93 Run tests by default Domen Kožar 2021-08-03 16:24:33 +02:00
  • 83fac7e0ce Merge pull request #289 from ovpanait/master Domen Kožar 2021-08-03 15:53:42 +02:00
  • 8889455e54 Merge pull request #292 from ovpanait/issue-291 Domen Kožar 2021-08-03 14:54:37 +02:00
  • 3300999317 tests: plain-needed.sh: add tescases for --add-needed-/--remove-needed Ovidiu Panait 2021-07-24 18:00:55 +03:00
  • f533f7b898 addNeeded: fix assertion triggered due to bad .dynstr section resize Ovidiu Panait 2021-07-24 16:59:37 +03:00
  • 4052850d22 tests: add e_machine endianness test (#269) Joerie de Gram 2021-07-24 00:50:09 +02:00
  • fccd901efe tests: add testcase for alignment issues with contiguous note sections Ovidiu Panait 2021-07-21 22:31:07 +03:00
  • 7ec8edbe09 Merge pull request #282 from iv-m/endianness-fix Domen Kožar 2021-06-21 13:24:15 +02:00
  • 83eab25c30 rewriteSectionsLibrary: Fix endianness issue Ivan A. Melnikov 2021-06-21 12:29:30 +04:00
  • 251b98cac8 Merge pull request #281 from iv-m/fix-PT_PHDR Domen Kožar 2021-06-19 15:36:02 +02:00
  • d1e567e3bf Merge pull request #278 from satmandu/PR243 Domen Kožar 2021-06-19 15:35:40 +02:00
  • 699f41632a Fix updating program header table segment Ivan A. Melnikov 2021-06-16 17:42:21 +04:00
  • f276b58ebb Change to 'for (auto & phdr : phdrs) { .' as used elsewhere Satadru Pramanik 2021-05-27 23:06:58 -04:00
  • 8f94e116f3 add PR243 reproducer Satadru Pramanik 2021-05-20 17:10:38 -04:00
  • 4efbce410d merge from PR243 Satadru Pramanik 2021-05-20 16:52:21 -04:00
  • d75ad358f4 Add testfile from PR270 Satadru Pramanik 2021-05-20 13:40:54 -04:00
  • 2d0e0b9218 patchelf: Fix alignment issues with contiguous note sections Richard Purdie 2021-05-01 17:32:28 +01:00
  • ff6f21fad5 fixed phdr bug MatrixLing 2021-04-12 09:25:35 +08:00
  • 013ce840ab convert endian when checking library machine type Daniel Barlow 2021-03-31 22:27:40 +01:00
  • acb4665c17 avoid needless copies of std::string Rolf Eike Beer 2020-09-18 10:48:20 +02:00
  • 554dec3668 do not add new string entries when changing libraries to themself Rolf Eike Beer 2020-09-17 09:25:03 +02:00
  • 4967cdcd0e fix -Wshadow warnings Rolf Eike Beer 2020-09-17 08:31:00 +02:00
  • 0fcf278953 silence compiler warning because of different signedness Rolf Eike Beer 2020-09-15 14:01:32 +02:00
  • 40640a9c11 add new SHF_* flags from binutils Rolf Eike Beer 2020-09-04 10:41:34 +02:00
  • a935c61e74 only one section name can match Rolf Eike Beer 2020-09-04 10:28:21 +02:00
  • d628ab9378 avoid needless memory allocation when replacing sections Rolf Eike Beer 2020-09-04 10:26:32 +02:00
  • f376fe61ba Merge pull request #266 from neheb/int Eelco Dolstra 2021-02-26 15:50:04 +01:00
  • 1af4453428 fix wrong cast Rosen Penev 2021-02-25 15:01:21 -08:00
  • 0ad9548c02 Style fixes Eelco Dolstra 2021-02-15 13:12:02 +01:00
  • 8268756636 Merge pull request #262 from neheb/man Eelco Dolstra 2021-02-15 13:08:08 +01:00
  • dd4d2af8db manual for loop conversions Rosen Penev 2021-02-14 18:10:50 -08:00
  • b399885dd0 clang-tidy: use auto Rosen Penev 2021-02-14 17:33:36 -08:00
  • 3f91ab276b clang-tidy: replace typedef with using Rosen Penev 2021-02-14 17:31:13 -08:00
  • 706eb6b1e7 clang-tidy: sort includes alphabetically Rosen Penev 2021-02-14 17:26:01 -08:00
  • 24e6dd7a5f clang-tidy: use C++ casts Rosen Penev 2021-02-14 17:24:35 -08:00
  • 85393d3ecc clang-tidy: use explicit constructors Rosen Penev 2021-02-14 17:23:27 -08:00
  • ddd28fe319 clang-tidy: do not use else after return Rosen Penev 2021-02-14 17:21:23 -08:00
  • cedf284111 clang-tidy: fix bad cast Rosen Penev 2021-02-14 17:19:06 -08:00
  • 7695c62652 clang-tidy: remove pointless string init Rosen Penev 2021-02-14 17:17:03 -08:00
  • 04052810f0 clang-tidy: use empty() Rosen Penev 2021-02-14 17:15:40 -08:00
  • 900c673c27 clang-tidy: reference conversions Rosen Penev 2021-02-14 17:13:45 -08:00
  • e17744d966 clang-tidy: avoid copying loop variable Rosen Penev 2021-02-14 17:11:42 -08:00
  • fce77b7cd8 replace for loop with any_of Rosen Penev 2021-02-14 16:41:01 -08:00
  • 60affdea0c clang-tidy: use nullptr Rosen Penev 2021-02-14 16:36:41 -08:00
  • f34751b88b Remove travis.yml Eelco Dolstra 2020-12-07 17:19:37 +01:00
  • 9f80952c1b Fix CI Eelco Dolstra 2020-12-07 17:19:23 +01:00
  • d5fa0e87d2 flake.lock: Update Eelco Dolstra 2020-12-01 12:38:44 +01:00
  • af2a9bedc4 Add default.nix for compatibility Eelco Dolstra 2020-11-26 22:00:36 +01:00
  • b46859e65b Merge release.nix into flake.nix Eelco Dolstra 2020-11-26 21:53:37 +01:00
  • 8703e4611e Added option conflict between --set-rpath and --add-rpath Xavier Abellan Ecija 2020-11-26 07:12:11 +00:00
  • a05752fa0c Merge pull request #253 from blitz/ci-fix Eelco Dolstra 2020-11-19 14:03:00 +01:00
  • d870a874e5 ci: fix github action by updating install-nix-action Julian Stecklina 2020-11-19 13:32:25 +01:00
  • 81a48fd138 Merge pull request #230 from rmNULL/fix-wrong-unsupported-overlap Eelco Dolstra 2020-11-19 11:08:08 +01:00
  • 57ad111ab4 Merge pull request #251 from blitz/fuzzing-fixes Eelco Dolstra 2020-11-16 11:23:11 +01:00
  • 883fdf99c5 Gracefully handle ELF files with out-of-bounds shdr offsets Julian Stecklina 2020-11-15 16:13:18 +01:00
  • d148bae6c1 Fix endian issue when creating sectionsByOldIndex Julian Stecklina 2020-11-15 16:04:17 +01:00
  • 52e9dd5900 Gracefully handle ELF files with out-of-bounds phdr offsets Julian Stecklina 2020-11-15 15:56:06 +01:00
  • c105b1c837 Add test case with invalid phdr offset Julian Stecklina 2020-11-15 15:55:10 +01:00
  • fa8896a5a8 Add bounds checking for invalid section header name offsets Julian Stecklina 2020-11-15 15:41:09 +01:00
  • de9fa4def4 Add test case with invalid section header sh_name Julian Stecklina 2020-11-15 15:39:42 +01:00
  • 7a8214ce63 Gracefully handle ELF files with non-zero terminated string table Julian Stecklina 2020-11-15 14:52:42 +01:00
  • e57205fec9 Add test case with non-terminated string table Julian Stecklina 2020-11-15 14:50:47 +01:00
  • cee8c8cda7 Gracefully handle ELF files with empty string table Julian Stecklina 2020-11-15 14:40:10 +01:00
  • 62e39e05dc Add ELF test case with empty string table Julian Stecklina 2020-11-15 14:39:22 +01:00
  • a954a08496 Gracefully handle ELF files with invalid string table size in header Julian Stecklina 2020-11-15 13:58:17 +01:00
  • 1162de53b5 Add test case with invalid shrstab size Julian Stecklina 2020-11-15 13:56:13 +01:00
  • b552c30614 Gracefully handle ELF files with invalid string table indices in header Julian Stecklina 2020-11-15 13:44:42 +01:00
  • 1457195875 Add ELF test case with invalid string table index Julian Stecklina 2020-11-15 13:43:22 +01:00
  • 055802e636 Added option --add-rpath Xavier Abellan Ecija 2020-10-05 17:06:15 +01:00
  • 62e8db4343 Added option --add-rpath Xavier Abellan Ecija 2020-10-05 16:59:13 +01:00
  • 47dc18d0e5 Merge pull request #245 from ratschance/BUGFIX-fix-ppc32-issues-with-pie-bins Eelco Dolstra 2020-10-05 14:00:40 +02:00
  • b04764d2e7 Add regression tests for powerpc PIE endianness Conrad Ratschan 2020-10-03 23:24:07 -05:00
  • 884eccc4f0 Fix endianness issues for powerpc PIE Conrad Ratschan 2020-10-03 20:17:24 -05:00
  • a89d508130 Handle libraries with more than one .shstrtab section Pablo Galindo 2020-09-22 01:22:42 +01:00
  • d2e81f0483 Merge pull request #242 from pablogsal/addr Domen Kožar 2020-09-22 08:15:27 +02:00
  • 83aa89addf Use sh_offset instead of sh_addr when checking already replaced libs Pablo Galindo 2020-09-22 01:33:47 +01:00
  • 5cd451775a Merge pull request #238 from emlix/roundup64 Eelco Dolstra 2020-09-17 15:02:09 +02:00
  • adee501ccb fix roundUp() to not truncate 64 bit values Rolf Eike Beer 2020-09-16 08:38:22 +02:00
  • 67005a9588 Merge pull request #234 from abathur/patch-1 Domen Kožar 2020-09-14 10:41:27 +02:00
  • 35e3af8c62 try skipping channel Travis A. Everett 2020-08-31 08:36:19 -05:00
  • 3b90db2e4a replace language:nix Travis A. Everett 2020-08-31 08:24:00 -05:00
  • 8d3a16e972 Bump version 0.12 Eelco Dolstra 2020-08-27 13:57:16 +02:00
  • 0ca35409fe Update README.md Eelco Dolstra 2020-08-27 13:13:32 +02:00
  • 416ea251bd Update README.md Eelco Dolstra 2020-08-27 13:07:39 +02:00
  • 23620e5927 README.md: Markdown cleanup Eelco Dolstra 2020-08-27 13:07:09 +02:00
  • 6edec83653 mark phdrs synced with sections, avoid rechecking it when syncing note sections to segments. rmnull 2020-08-18 20:22:52 +05:30
  • 9d3fc11bc6 correct place for pull request template Domen Kožar 2020-08-24 10:52:54 +02:00
  • 9b12447172 pull request template Domen Kožar 2020-08-24 10:51:24 +02:00
  • 53a9eb8405 Merge pull request #231 from rmNULL/skip-overwriting-same-rpath Eelco Dolstra 2020-08-19 11:43:10 +02:00
  • 5d99bcd974 skip overwriting r(un)path data when old_rpath = new_rpath. rmnull 2020-08-19 13:59:44 +05:30
  • 7aa6b90851 Merge pull request #229 from lheckemann/endianness-fix Eelco Dolstra 2020-08-17 14:53:39 +02:00