Skip to content

ghidra ¤

Functions:

Attributes:

r2decompiler module-attribute ¤

r2decompiler = add_param(
    "r2decompiler",
    "radare2",
    "framework that your ghidra plugin installed",
    param_class=PARAM_ENUM,
    enum_sequence=["radare2", "rizin"],
)

set_r2decompiler ¤

set_r2decompiler() -> None

decompile ¤

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.