Hacker News new | ask | show | jobs
by wongarsu 68 days ago
Reasoning on pure machine code or disassembly is still hit and miss. For better results you can run the binary through a disassembler, then ask an llm to turn that into an equivalent c program, then ask it to work on that. But some of the subtleties might get lost in translation
1 comments

If you put codex in Xhigh and allow it access to tools, it will take an hour but it will eventually give you back quality recompiled code, with the same issues the original had (here quality means readable)
I had a bit of a pain of a time trying to get Claude to work with ghidra. What you’re describing seems like a better alternative, would you agree?
You can tweak the current Ghidra MCP to work in headless mode. It makes things much easier.
I've had a lot of luck with pyghidra-mcp -- give it a try :)
Well i have tried and it only works for simple use-case.