Commit Graph

837 Commits

Author SHA1 Message Date
bors[bot]
519766900c Merge #501
501: COPYING: change http to https r=Mic92 a=mtelka



Co-authored-by: Marcel Telka <marcel@telka.sk>
2023-06-08 10:11:21 +00:00
Marcel Telka
30da44915e COPYING: change http to https 2023-06-07 23:02:42 +02:00
bors[bot]
442793d9ec Merge #499
499: Update elf.h based on Glibc r=Mic92 a=loongson-zn



Co-authored-by: Zhang Na <zhangna@loongson.cn>
2023-06-02 07:58:56 +00:00
Zhang Na
be8393c4c8 Update elf.h based on Glibc 2023-06-02 15:50:00 +08:00
bors[bot]
008a582741 Merge #493
493: Respect prefixed tools used with the tests when cross-compiling r=Mic92 a=heirecka



Co-authored-by: Heiko Becker <heirecka@exherbo.org>
2023-04-25 10:16:35 +00:00
Heiko Becker
1ab6930d15 Also respect a prefixed nm and strings too 2023-04-24 22:44:12 +02:00
Heiko Becker
d0c418fe38 Respect a possibly prefixed readelf
...i case of cross-compiling. Already done for other tests with
07bbf47e9c.
2023-04-24 22:42:59 +02:00
bors[bot]
99c2423898 Merge #491
491: tests: use proper exit code to mark tests as skipped r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
0.18.0
2023-04-23 11:31:12 +00:00
Jörg Thalheim
e8909d11da bump version 2023-04-23 13:30:30 +02:00
Jörg Thalheim
acee2a4bb4 tests: use proper exit code to mark tests as skipped 2023-04-23 13:29:37 +02:00
bors[bot]
98591a5ae5 Merge #485
485: Resize segment mapping rewritten sections if needed #482 r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
2023-04-23 11:15:54 +00:00
Breno Rodrigues Guimaraes
65cdee9044 Resize segment mapping rewritten sections if needed 2023-04-23 13:13:07 +02:00
bors[bot]
6e7b82e839 Merge #481
481: Do not let modifyRPath taint shared strings in strtab. Fix #315 r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
2023-04-23 10:51:58 +00:00
bors[bot]
336d634790 Merge #490
490: Fix #310, add zsh completion r=Mic92 a=Freed-Wu



Co-authored-by: Wu Zhenyu <wuzhenyu@ustc.edu>
2023-04-23 10:45:47 +00:00
Wu Zhenyu
c6c2a6569a Fix #310, add zsh completion 2023-04-08 14:45:02 +08:00
Breno Rodrigues Guimarães
99db062953 Merge pull request #488 from cedric84/patch-1
Update build-id.sh
2023-03-27 02:38:44 -03:00
cedric84
7eace058f1 Update build-id.sh
This prevents the test to fail when when readelf is localized.
2023-03-26 13:32:22 +02:00
bors[bot]
265b31ae22 Merge #478
478: Run shellcheck on all tests r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
2023-03-18 15:49:47 +00:00
Breno Rodrigues Guimaraes
860c04dbd6 Add test 2023-03-17 19:11:45 -03:00
Breno Rodrigues Guimaraes
8b32fae32d Check for other references to the RPATH string 2023-03-17 19:06:57 -03:00
Breno Rodrigues Guimaraes
75e4daaf29 Add infrastructure to iterate on all objects that are string indexes 2023-03-17 19:06:57 -03:00
Breno Rodrigues Guimaraes
c749f6760d Use a different letter for section tainting 2023-03-17 19:06:57 -03:00
Breno Rodrigues Guimaraes
3710a70233 Make CI run shellcheck on all tests 2023-03-11 11:37:12 -03:00
Breno Rodrigues Guimaraes
8adc31ed7b Fix all shellcheck issues 2023-03-11 11:37:11 -03:00
Breno Rodrigues Guimarães
27cbc89d48 Merge pull request #469 from brenoguim/breno.446
Add one extra page to avoid overlapping with next page if its rounded…
2023-03-11 11:01:43 -03:00
Breno Rodrigues Guimarães
ac212d0e6f Merge pull request #475 from brenoguim/breno.474
Use the largest segment alignment for libraries requiring non-standard alignments #474
2023-03-11 10:59:27 -03:00
Breno Rodrigues Guimarães
80f6866936 Filter with awk instead of grep
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-03-08 16:35:12 -03:00
Breno Rodrigues Guimaraes
9f1c0af97b Set the alignment of the new LOAD segment the same as others 2023-03-07 21:10:26 -03:00
bors[bot]
ea2fca765c Merge #473
473: Other switches might set changed as true. Use extraStrings size. #416 r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
2023-03-07 11:22:56 +00:00
bors[bot]
12c1fe706b Merge #476
476: Bump cachix/install-nix-action from 19 to 20 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 09:31:36 +00:00
dependabot[bot]
23fc48502a Bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 02:12:04 +00:00
Breno Rodrigues Guimaraes
fcb8fb7317 Other switches might set changed as true. Use extraStrings size 2023-03-04 14:04:07 -03:00
Breno Rodrigues Guimaraes
de3e1f5e11 Add one extra page to avoid overlapping with next page if its rounded down 2023-02-24 20:39:11 -03:00
bors[bot]
65bf3d9dc1 Merge #460
460: Avoid overlapping program header table with section header table #457 r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
Co-authored-by: Breno Rodrigues Guimarães <brenorg@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-24 09:10:59 +00:00
Breno Rodrigues Guimaraes
eb9ea0094b Shellcheck fixes 2023-02-23 22:15:12 -03:00
Breno Rodrigues Guimarães
70a477a252 Merge branch 'NixOS:master' into breno.457 2023-02-23 22:07:41 -03:00
Breno Rodrigues Guimarães
afca68f86a Update tests/repeated-updates.sh
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-23 17:35:25 -03:00
bors[bot]
69a7ae54d2 Merge #466
466: Adjust roundUp for 0 as input r=Mic92 a=cgzones



Co-authored-by: Christian Göttsche <cgzones@googlemail.com>
2023-02-23 20:09:22 +00:00
bors[bot]
da035d6ace Merge #459
459: Add feature to rename dynamic symbols r=Mic92 a=brenoguim



Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com>
Co-authored-by: Breno Rodrigues Guimarães <brenorg@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-23 19:59:57 +00:00
Christian Göttsche
5b88266ce8 Adjust roundUp for 0 as input
Round up 0 to m instead of wrapping around and return an unexpected
result, which is not a multiple of m.
2023-02-22 20:16:21 +01:00
Breno Rodrigues Guimaraes
aeb34c2cc9 Avoid <class ER> syntax in lambdas. Thats C++20 2023-02-22 07:18:28 -03:00
Breno Rodrigues Guimaraes
991bf3a4ff Fixup 2023-02-22 06:51:28 -03:00
Breno Rodrigues Guimarães
0611392aaa Update patchelf.cc
Untested. Coding from github while my VM is acting up.
2023-02-22 06:42:46 -03:00
Breno Rodrigues Guimarães
16f13b4194 Update patchelf.1
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-22 06:10:33 -03:00
Breno Rodrigues Guimarães
4a50d12e22 Update src/patchelf.cc
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-22 06:10:19 -03:00
Breno Rodrigues Guimarães
fadce0a95b Update src/patchelf.cc
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-22 06:10:01 -03:00
Jörg Thalheim
799f127250 Merge branch 'master' into breno.rename_syms 2023-02-22 08:31:16 +01:00
bors[bot]
e37f892b12 Merge #464
464: Modernizations and strictness improvements r=Mic92 a=cgzones



Co-authored-by: Christian Göttsche <cgzones@googlemail.com>
2023-02-21 20:01:16 +00:00
Christian Göttsche
ff7a5beb00 Avoid memory corruption on invalid ELF input
Reject ELF data that would lead to invalid memory access or integer
overflows.
2023-02-21 19:42:11 +01:00
Christian Göttsche
81c64ddc99 Declare more read-only functions const 2023-02-21 19:41:08 +01:00