Live data from Hacker News

A better Ghidra MCP server – GhidrAssistMCP

github.com

11–20 of 21 posts

Re: A better Ghidra MCP server – GhidrAssistMCP

#11

It's been a few years since I've rolled up my sleeves and did some reverse engineering with Ghirda. The skill is very "use it or lose it" so I wonder if this will help me get back into it quicker. Or... a ton of hallucinations leading down dead end rabbit holes. Curious if anyone has given it a shot an can speak to the experience.

Applies to everything. If you never had it in muscle memory, you lose it.

Re: A better Ghidra MCP server – GhidrAssistMCP

#15
post #14

I wonder if embeddings could be created from open source and library code and then used to convert back the code with all the correct variable and function names.

It's not AI but Ghidra has a cool feature called BSim which does something similar. Each function get's a "feature vector" which now that I think about it has some clear parallels to embeddings.

Re: A better Ghidra MCP server – GhidrAssistMCP

#16
Thanks for sharing!

I was about to start doing this, then realized I shouldn't nerd-snipe myself... The original extension definitely felt user unfriendly, so I was using Claude Code manually, feeding it an exported listing file. The listing files lack full addresses, so it wasn't optimal source material.

Re: A better Ghidra MCP server – GhidrAssistMCP

#17
post #14

I wonder if embeddings could be created from open source and library code and then used to convert back the code with all the correct variable and function names.

I've been wondering the same thing. However you would have to have a very large database of embeddings for this to be useful, right?

Otoh I can see this being disproportionately helpful with reverse Engineering Rust and Go binaries, which usually include many opensource dependencies

Re: A better Ghidra MCP server – GhidrAssistMCP

#18
post #14

I wonder if embeddings could be created from open source and library code and then used to convert back the code with all the correct variable and function names.

It's not AI but Ghidra has a cool feature called BSim which does something similar. Each function get's a "feature vector" which now that I think about it has some clear parallels to embeddings.

Wow that is cool, I bet with that feature and a huge database of known "feature vectors" from open-source libraries so you can focus on the actual business logic of the binary instead of trying to reverse external library functions
Post reply on HN