← All projects
Project record1 mention
Originally shared on Hacker News

ghidra-delinker-extension

A Ghidra extension that exports relocatable object files from programs — a delinker that recovers and resynthesizes relocation spots through analysis. It works across multiple architectures and object file formats (including OMF) and can generate DWARF debugging symbols, and is actively used in Windows video game decompilation projects. Development is guardrailed by an exhaustive regression test suite, which has also made it feasible to delegate feature implementation to AI coding tools.

Last shared
01 / The problem

What it addresses

Recovering and resynthesizing relocation spots through analysis is punishingly hard, requiring exacting precision because mistakes corrupt the resulting object files in ways that are difficult to detect and grueling to debug.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. ghidra-delinker-extension

    A Ghidra extension that exports relocatable object files from programs — a delinker that recovers and resynthesizes relocation spots through analysis. It works across multiple architectures and object file formats (including OMF) and can generate DWARF debugging symbols, and is actively used in Windows video game decompilation projects. Development is guardrailed by an exhaustive regression test suite, which has also made it feasible to delegate feature implementation to AI coding tools.

    Problem: Recovering and resynthesizing relocation spots through analysis is punishingly hard, requiring exacting precision because mistakes corrupt the resulting object files in ways that are difficult to detect and grueling to debug.

    Posted by @boricj · Original source ↗

    Source text · @boricj · · Source ↗

    I'm working on ghidra-delinker-extension [1], a relocatable object file exporter for Ghidra. Or in other words, a delinker.