patchelf
patchelf copied to clipboard
[question] How to patch the path of section headers?
If a wrong path exists in section headers of a binary program, how to substitue it with correct path? I try to patchelf --set-interpreter its interpreter then sed the path, however, it breaks the correctness of elf format.
TIA!