G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering
A few days ago this went mostly ignored (<a href="https://news.ycombinator.com/item?id=34161642" rel="nofollow">https://news.ycombinator.com/item?id=34161642</a>) and I was asked to re-submit it (<a href="https://news.ycombinator.com/item?id=34250150" rel="nofollow">https://news.ycombinator.com/item?id=34250150</a>) so that it gets a second chance.<p>That’s a script for the reverse-engineering tool Ghidra that uses GPT-3 to de-compile machine code and to write plain English explanations of what a piece of code does.<p>The article is quite detailed and describes both its capabilities and its limitations. That G-3PO script is open source, MIT license: <a href="https://github.com/tenable/ghidra_tools/tree/main/g3po">https://github.com/tenable/ghidra_tools/tree/main/g3po</a><p>There was also another HN story about what at first sight looks like an alternative implementation of the same idea: “GptHidra – Ghidra plugin that asks OpenAI Chat GPT to explain functions”<p><a href="https://news.ycombinator.com/item?id=34165291" rel="nofollow">https://news.ycombinator.com/item?id=34165291</a><p>This one is more recent and lacks that good write-up mentioned above. The script is smaller and it seems to have fewer features.<p>I suggest checking both of them.