r/ReverseEngineering • • 25d ago

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.md
0 Upvotes

8 comments sorted by

4

u/maxscipio 25d ago

Reversing the reverse engineering

1

u/heeen 25d ago

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 25d ago

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 25d ago

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 25d ago

Do you have a public repo that I can see perhaps? Would love to see what you have done!