4 ms·
Yes, a few days ago there was a story in HN that went mostly ignored: “G-3PO: A Protocol Droid for Ghidra” https://medium.com/tenable-techblog/g-3po-a-protocol-
by AlbertoGP 4y ago
Yes, a few days ago there was a story in HN that went mostly ignored: “G-3PO: A Protocol Droid for Ghidra” https://medium.com/tenable-techblog/g-3po-a-protocol-droid-for-ghidra-4b46fa72f1ff https://medium.com/tenable-techblog/g-3po-a-protocol-droid-f...
https://news.ycombinator.com/item?id=34161642 https://news.ycombinator.com/item?id=34161642
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.
The article is quite detailed and describes both its capabilities and its limitations.
That G-3PO script is open source, MIT license: https://github.com/tenable/ghidra_tools/tree/main/g3po https://github.com/tenable/ghidra_tools/tree/main/g3po
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”
https://news.ycombinator.com/item?id=34165291 https://news.ycombinator.com/item?id=34165291
This one is more recent and lacks that good write-up mentioned above. The script is smaller and it seems to have fewer features.
I suggest checking both of them.
- dang 4y agoExcellent catches. I would like to put https://medium.com/tenable-techblog/g-3po-a-protocol-droid-for-ghidra-4b46fa72f1ff https://medium.com/tenable-techblog/g-3po-a-protocol-droid-f... in the second-chance pool (so it would get a random placement on HN's front page - see https://news.ycombinator.com/item?id=26998308 https://news.ycombinator.com/item?id=26998308), but unfortunately https://news.ycombinator.com/item?id=34161642 https://news.ycombinator.com/item?id=34161642 is too old and I can't contact the submitter. Would you be willing to submit https://medium.com/tenable-techblog/g-3po-a-protocol-droid-for-ghidra-4b46fa72f1ff https://medium.com/tenable-techblog/g-3po-a-protocol-droid-f... and email us at hn@ycombinator.com so we can put it in the SCP manually?
- deleted 4y ago[deleted]
- obliviasimplex 4y agoHey, thank you! I see that AlbertoGP's already gone ahead and boosted the post over here https://news.ycombinator.com/item?id=34250872#34256899 https://news.ycombinator.com/item?id=34250872#34256899, but I'd still be happy to send you an email.
- dang 4y agoI'd be happy to hear from you! Especially if you do more work that's suitable for HN discussion. That thread was highly successful (18 hours on the front page is close to as good as it gets).