A Cutter plugin to generate radare2 graphs. It also provides a new graph called Deep callgraph, which builds an in-depth callgraph from the current function, adding recursively its callees' callings.
Please, read the code before using this script/plugin (it is small, should not take long). I have not tested it recently.
By default, on Linux, Cutter loads python plugins from $HOME/.local/share/RadareOrg/Cutter/plugins/python. You just need to copy one of the files under the plugins folder on that path.
Output format and output path can be specified on the plugin's window. By default, graphs are saved as dot files on the current directory, from where Cutter was launched.
The Deep callgraph graph can also be generated from the command line, see the script on the script directory.
Place it in your ghidra_scripts folder and use it from Ghidra's script manager. Dot files are placed in your Ghidra folder (e.g., in ~/ghidra_9.1.2_PUBLIC/)
- Take Deep callgraph settings from the user settings.