weggli icon indicating copy to clipboard operation
weggli copied to clipboard

Improved Binary Ninja Script

Open fabianfreyer opened this issue 3 years ago • 1 comments

Rebased @mmaekr's script from #1 on current main, used the decompile to C API, and added some utility and interaction, demangling.

Works rudimentally as both a plugin and a snippet in the Snippets editor.

fabianfreyer avatar Jan 26 '22 18:01 fabianfreyer

Thanks this looks super useful. I'll test it and report back.

felixwilhelm avatar Jan 27 '22 15:01 felixwilhelm

Any updates on accepting this PR?

psifertex avatar Aug 26 '22 20:08 psifertex

Also, for what it's worth, Binary Ninja's plugin manager supports plugins that are subfolders from other repos so it would be possible to convert this into a plugin that could be installed via the plugin manager, making it more discoverable.

Feel free to let me know if I can help any with that process.

psifertex avatar Aug 26 '22 20:08 psifertex

Sorry for not merging this earlier.

The Python API is missing a couple of features (mainly query normalization) that are supported by the CLI right now. So I was a bit hesitant to merge this, before improving the Python interface. But @ZetaTwo played around with it and says it's useful already. So I guess there is no reason to further delay this.

Thanks @fabianfreyer, @ZetaTwo and @psifertex

felixwilhelm avatar Sep 23 '22 13:09 felixwilhelm