patchelf icon indicating copy to clipboard operation
patchelf copied to clipboard

A small utility to modify the dynamic linker and RPATH of ELF executables

Results 148 patchelf issues
Sort by recently updated
recently updated
newest added

Modified program header is stored at the end of elf files. But, linker of Android4.1 read program header at the first PAGE in elf. code of linker~~~~~~~~: ``` static soinfo...

This file will generate a segfault / invalid memory read with patchelf: https://crashes.fuzzing-project.org/patchelf-0.8-invalid-memory-read-Elf64_Phdr The error messages I get from debugging tools aren't really clear, it seems it is causing some...

bug

For the same reasons we've likewise converted other projects, as of late. Should be very easy --- I bet an LLM could do it even.

**Describe the bug** Even after doing `--add-rpath`, a library is still not found. **Steps To Reproduce** I have an executable that cannot find libicu: ``` $ ldd test-orig | grep...

bug

Fixes #214 Constructed after reading @njsmith's great work on #84 / #85 (thus some variable names being the same). #### Technical considerations Even if the section is theorically a compact...

The included test currently fails only on binutils 2.44, which is available on `nixpkgs-unstable`. I've only tested on x86_64-linux. Perhaps `lastReplaced` should be renamed because it no longer ends up...

**Describe the bug** Hi, Debian currently ships patchelf 0.18.0 with a few patches on top (https://sources.debian.org/src/patchelf/0.18.0-1.4/), and it's currently failing to build on mips64el due to `rename-dynamic-symbols.sh`. The full build...

bug

**Describe the bug** Since #469, the latest version of patchelf produces corrupt binaries when used in the GHC bootstrap binary in Nixpkgs, resulting in the bootstrap binary derivation failing to...

bug