Hacker News new | ask | show | jobs
by RBO2 893 days ago
I love the idea of static recompilation. It is a promising way to make statically linked code more reusable/sustainable!
1 comments

My Ghidra extension doesn't perform static recompilation, the bytes that are exported are the ones from the original program (except the ones targeted by a relocation). It's similar to a raw binary exportation, except you get a relocatable object file instead.

That being said, maybe it's possible to perform a delinkage and then run a static recompiler on the object file. I don't know how that would compare to running a decompiler on the object file.