Search code examples
gccreverse-engineeringldelf

Unlink an ELF executable


Is it possible to unlink a dynamically linked ELF executable? I want to regenerate an object file (.o) from a final executable file without recompiling from source, and then relink it statically.


Solution

  • There are things such as Ermine, ELF Statifier, and jumpstart for x86/x86_64.

    This feature comparison page from Ermine nicely shows the capabilities of Ermine Pro/Lite vs. ELF Statifier.