patchelf
patchelf copied to clipboard
A small utility to modify the dynamic linker and RPATH of ELF executables
**Describe the bug** Executables which have the rpath set give a segfault on the beta Fedora 41. **Steps To Reproduce** Basic hello world mytest.c: ``` #include int main() { printf("hello,...
The currently released version [0.18.0](https://github.com/NixOS/patchelf/releases/tag/0.18.0) contains a nasty bug #492 that seems to be fixed in #566, but package managers like vcpkg can't update because there's no new version to...
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. Release notes Sourced from actions/checkout's releases. v5.0.0 What's Changed Update actions checkout to use node 24 by @salmanmkc in actions/checkout#2226 Prepare v5.0.0 release by...
the bug assertion at the bottom of `rewriteSectionsLibrary` tripped when theres a null section at position 1 on the sht. ``` patchelf: patchelf.cc:961: void ElfFile::rewriteSectionsLibrary() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr...
**Describe the bug** Linux 5.17 and below have a bug, later fixed by torvalds/linux@0da1d5002745cdc721bc018b582a8a9704d56c42. That bug was accounted for in patchelf, but a recent patch (43b75fbc9ffbc1190fee7c8693ad74cb8286cfd4) broke compatibility with these...
Most now error out nicely, as of 0.16, but some still cause a crash. Fix #132 Progress on #133 (have tests, failure remains) Fix #134 Progress on #135 (have test,...
Supplying a malformed file and running shrink rpath, using the command _./patchelf --shrink-rpath %file%_ leads to a Buffer Overread vulnerability. The relevant Address Sanitizer output is: ``` ./src/patchelf --shrink-rpath src/crashes/patchelf003000008...
I currently need `patchelf` to add a dependency to an `elf` file (in the `jarify` project if it's of any use). It seems to fail, here is a minimal repro....
If you have a library file that's actually a symlink, and use patchelf on the symlink, patchelf fails to update the actual file, and instead removes the symlink and creates...
In rpmbuild, software was built in builtroot some path like /tmp/buildroot/, and software install to real path after packaging. So I need to specify patchelf to search libs using prefix...