Hacker GitHub

← All repos

boricj/ghidra-delinker-extension

View on GitHub ↗ ★ 607 Assembly

Ghidra extension for exporting relocatable object files

24 mentions on Hacker News by 1 person: 2 stories, 22 comments · first 2023-10-12 · latest 2026-09-21

Mentions per year 24 mentions · busiest year 2024 (13)
20082026
  1. …Absurdly complex, got me a poster session at SURE workshop at ACM CCS last year, as a hobbyist. [1] https://github.com/boricj/ghidra-delinker-extension
  2. …it is the kind of project that is practically endless), but I don't see how I could top that. [1] https://github.com/boricj/ghidra-delinker-extension [2] https://boricj.net/2025/10/25/ghidra-delinker-extension-and-...
  3. I wrote an analyzer to do that, you can find it here: https://github.com/boricj/ghidra-delinker-extension/blob/mas... It uses register dependency graph traversal and code block flow analysis to try and find which two instructions are the…
  4. …when trying to work on this, probably because it's a genuinely difficult topic even for humans. [1] https://github.com/boricj/ghidra-delinker-extension
  5. …to the SURE workshop at ACM CCS 2025 in Taiwan as a hobbyist, an absolutely insane story. [1] https://github.com/boricj/ghidra-delinker-extension
  6. Might as well plug in my own extension: https://github.com/boricj/ghidra-delinker-extension It's a relocatable object file exporter that supports x86/MIPS and ELF/COFF. In other words, it can delink any program selection and you can reuse…
    comment by boricj · 2026-02-16 · in Ghidra by NSA
  7. …blog post once it's done. [1] Others call it unlinking, binary splitting or binary reassembly. [2] https://github.com/boricj/ghidra-delinker-extension
  8. This wheel: https://github.com/boricj/ghidra-delinker-extension It's a Ghidra extension that can export relocatable object files from any program selection. In other words, it reverses the work done by a linker. I originally built this as…
    comment by boricj · 2025-05-24 · in Reinvent the Wheel
  9. You can find it here: https://github.com/boricj/ghidra-delinker-extension I've demonstrated a bunch of use-cases on my blog, ranging from porting software to pervasive binary patching and pilfering application code into libraries, all done…
    comment by boricj · 2025-03-26 · in Collapse OS
  10. …need to figure out and undo all the relocation spots, but you don't get source code at the end. [1] https://github.com/boricj/ghidra-delinker-extension
  11. …extension test suite. [1] https://github.com/torvalds/linux/tree/master/tools/include/... [2] https://github.com/boricj/ghidra-delinker-extension/tree/mas...
    comment by boricj · 2024-12-26 · in A Simple ELF
  12. …you know the rules so well that you can break them, but my Ghidra extension is indeed on GitHub: https://github.com/boricj/ghidra-delinker-extension Unless you meant copying source code from GitHub, which isn't an option if the program is…
    comment by boricj · 2024-09-21 · in The Age of Software Artisans
  13. There are links to various case studies on my blog inside the README of the repository. https://github.com/boricj/ghidra-delinker-extension/blob/mas...
  14. ▲ 304
    Show HN: A Ghidra extension for exporting parts of a program as object files
    story by boricj · 2024-08-22 · 36 comments
  15. …boricj.net/tenchu1/2024/05/15/part-10.html [2] That piece of code is split off in its own Java class: https://github.com/boricj/ghidra-delinker-extension/blob/mas... [3] In case you're curious: https://github.com/boricj/ghidra-delinker-exte…
  16. …I've never expected anybody else would use it. If someone wants to check out the dark magic: https://github.com/boricj/ghidra-delinker-extension (disclaimer: might give nightmares to linker developers).
  17. I'm developing my own Ghidra extension that can export object files out of a program selection: https://github.com/boricj/ghidra-delinker-extension Ghidra's data model, analyzers and UI gave me a framework that allowed me to experiment and…
  18. …asked some questions related to delinking C++ code on Windows, you might find some answers there: https://github.com/boricj/ghidra-delinker-extension/issues/4 Don't hesitate to contact me directly if you want to discuss this stuff more…
  19. …so it's a bit demoralizing. I wrote a Ghidra extension to do that, you can check it out there: https://github.com/boricj/ghidra-delinker-extension
  20. …weird edge case hidden inside a function thousands of instructions long where it breaks down... [1] https://github.com/boricj/ghidra-delinker-extension
  21. I did, you can find the Ghidra extension there: https://github.com/boricj/ghidra-delinker-extension The problem is properly identifying the relocations spots and their targets inside a Ghidra database, which is based on references. On x86…
  22. …in practice. Embedding binary blobs inside a program in a portable way is still a mess today. [1] https://github.com/boricj/ghidra-delinker-extension/tree/mas...
    comment by boricj · 2024-01-16 · in Exploring Object File Formats
  23. ▲ 7
    Show HN: A Ghidra extension that turns programs back into object files
    story by boricj · 2024-01-03 · 4 comments
  24. Ghidra extension for delinking programs back into object files: https://github.com/boricj/ghidra-delinker-extension In short, this Ghidra extension allows one to reconstruct relocation tables through analysis and then export parts of…
    comment by boricj · 2023-10-12 · in Ask HN: Show me your half baked project