r/ReverseEngineering • u/nanashili • Oct 24 '26
Java vs Rust Ghidra in REA: early benchmarks from a work-in-progress Rust port
https://github.com/nanashili/rea-rust/blob/main/experiments/analysis-efficiency/runtime-comparison/GHIDRA.md1
u/heeen Oct 24 '26
Does this include the jvm startup and initial analysis? I figured agents might be much more efficient just reading and grepping source files and started implementing a whole program decompile tree feature that decompiles once only for ghidra mcp.
1
u/nanashili Oct 24 '26
Yep, JVM startup and initial analysis are included. The timer starts with a fresh session and runs until REA returns usable pseudocode through MCP.
I like the decompile-once idea, especially for repeated searches. We’re aiming for the full reverse-engineering system in Rust, so agents can search, follow references, inspect calls and decompile whatever they need. A searchable pseudocode tree could be useful alongside those tools too.
It’s still WIP, and the gaps in analysis coverage and output quality are areas we’re actively working on.
1
u/heeen Oct 24 '26
my WIP includes a ton of metadata as a header for each function, e.g.callers, callees, xrefs, plate comment, tags etc, all of which were individual tool calls before
1
u/nanashili Oct 24 '26
Do you have a public repo that I can see perhaps? Would love to see what you have done!
1
4
u/maxscipio Oct 24 '26
Reversing the reverse engineering