bin2ml icon indicating copy to clipboard operation
bin2ml copied to clipboard

Feature Request: r2ghidra decompiler

Open cielonet opened this issue 1 year ago • 1 comments

Is there a way to add a decompiling feature to the tool so that it leverages radare2 plugin to, say decompile functions. In addition to having the ESIL representation norm/non-norm I would like to have the decompiled function code alongside.

Right now, I am using pandas to read the esil json files of functions and test various models to see how well they are performing similarity search's (e.g. cosine similarity, etc.) between various versions of the same function. But I would like to also have the ability to import into pandas alongside the ESIL the functions decompiled pseudocode in order to perform similar semantic evaluations.

Not sure if this is within the intended scope of this tool. Great tool either way very useful in many ways. Reference: r2ghidra

cielonet avatar Apr 20 '24 16:04 cielonet

Thank you for the feature suggestion @cielonet. I will have a look into it 👍🏼

br0kej avatar Apr 28 '24 21:04 br0kej

@cielonet - This has been implemented in the newest release!

br0kej avatar May 20 '24 19:05 br0kej

Hey thank you for this. I just saw this. Been so busy with a million things. Will be testing within the next few weeks. Thanks again!

cielonet avatar Jul 26 '24 03:07 cielonet

It's probably worth mentioning - There are a few tweaks to how the data is outputted on dev. It might be worth building the dev version if you are brave enough and having a go with that :)

br0kej avatar Jul 26 '24 07:07 br0kej