Skip to content

Radare2

r2pipe()

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.

Raises ImportError if r2pipe python library is not available. Raises Exception if anything goes fatally wrong.

Returns a r2pipe.open handle.