Skip to content

radare2 ¤

Radare2 integration with r2pipe.

Functions:

  • r2pipe

    Spawn and return a r2pipe handle for the current process file.

  • r2cmd

    Return result of rizin command or error string.

r2pipe ¤

r2pipe() -> open | Status

Spawn and return a r2pipe handle for the current process file.

This function requires a radare2 installation plus the r2pipe python library. The base address is automatically set for PIE when loading the binary. After opening the handle, the binary is automatically analyzed.

If successful, returns the handle, otherwise returns a failing Status.

r2cmd ¤

r2cmd(arguments: list[str]) -> str

Return result of rizin command or error string.