airbus-seclab / bincat

Binary code static analyser, with IDA integration. Performs value and taint analysis, type reconstruction, use-after-free and double-free detection
1.69k stars 163 forks source link

Add Cutter/radare2 support #106

Closed XVilka closed 4 years ago

XVilka commented 4 years ago

I noticed you have a plugin for IDA, but it is not the only one tool available. Radare2 is a highly-portable cross-platform reverse engineering framework and a toolkit without dependencies. It has support for analyzing binaries, disassembling code, debugging programs, attaching to remote GDB/LLDB, WinDbg servers, rich plugin system (see r2pm), and integration with various decompilers. For example, ghidra decompiler plugin - r2ghidra-dec. It is actively developed and can be easily integrated in various open source and commercial products. I believe, it will be highly beneficial to support these and provide a package for install from r2pm, see the package repository here: https://github.com/radareorg/radare2-pm

In case if you need to get the information from radare2 into the OCaml you can use the so called r2pipe mechanism that returns JSON-formed output for the radare2 commands. We maintain a r2pipe opam package. Feel free to reach me if you have the question or suggestions for this r2pipe interface (or radare2 in general).

image

For documentation on writing plugins for radare2 see Scripting and Plugins Radare2 Book chapters.

Cutter is a crossplatform Qt/C++ GUI frontend to radare2:

image

For documentation on writing plugins for Cutter see the official tutorial and the curated list of various popular plugins.

thestr4ng3r commented 4 years ago

Why was this closed?

trou commented 4 years ago

This was closed because we are aware of radare2/cutter and have no intention/resources to add such support. Also, I think @XVilka's practice of spamming repositories to advocate radare2 is counter productive and annoying.

However, we will gladly welcome PRs that implement such support.