Skip to main content

Pipe interface for radare2

Project description

r2pipe for Python

Interact with radare2 using the #!pipe command or in standalone scripts that communicate with local or remote r2 via pipe, tcp or http.

Installation

$ pip install r2pipe

or

$ pip3 install r2pipe

Usage example:

import r2pipe

r2 = r2pipe.open("/bin/ls")
r2.cmd('aa')
print(r2.cmd("afl"))
print(r2.cmdj("aflj"))            # evaluates JSONs and returns an object
print(r2.cmdj("ij").core.format)  # shows file format
r2.quit()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

r2pipe-1.9.4.tar.gz (11.5 kB view details)

Uploaded Source

File details

Details for the file r2pipe-1.9.4.tar.gz.

File metadata

  • Download URL: r2pipe-1.9.4.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for r2pipe-1.9.4.tar.gz
Algorithm Hash digest
SHA256 021de46fe1e4d6932543c0f548c3c02126cbda7e930c6d0887d7b3996ee82119
MD5 f1400a08c0388b95117360fa3ebb3de2
BLAKE2b-256 9b4d8679a1ddcf5cb6c94f7005d9a889d4855a3980d1e689fe73204f34fa91fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page