News for hackers. Stuff that matters.
Re:A better Ghidra MCP server – GhidrAssistMCP by gg82 on Sunday July 13, 2025 @12:25AM (#44547497)
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.
Re:A better Ghidra MCP server – GhidrAssistMCP by nekitamo on Sunday July 13, 2025 @03:55AM (#44548395)
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 by Everdred2dx on Sunday July 13, 2025 @12:36AM (#44547557)
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 by mixel on Sunday July 13, 2025 @04:04AM (#44548445)
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
Re:A better Ghidra MCP server – GhidrAssistMCP by MomsAVoxell on Monday July 14, 2025 @04:20PM (#44564807)
BSim is a hash machine, right? (BSim uses feature vectors, and locality-sensitive hashing.)

Embeddings could be derived from reconstituted hash.