Skip to content

Ghidra

r2decompiler = pwndbg.config.add_param('r2decompiler', 'radare2', 'framework that your ghidra plugin installed (radare2/rizin)') module-attribute

decompile(func=None)

Return the source of the given function decompiled by ghidra.

If no function is given, decompile the function within the current pc. This function requires radare2, r2pipe and r2ghidra, or their related rizin counterparts.

Raises Exception if any fatal error occurs.

set_r2decompiler()