Hacker News new | ask | show | jobs
by choeger 1873 days ago
> or how about statically relinking a dynamically-linked binary you don't have sources for?

Even though I don't know why you would do that, I think you could do it by running a modified version of the dynamic linker. That thing basically runs like an interpreter for your binary. It links the code and then executes it. It should not be impossible to modify it to instead dump your ELF again, no?