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.8.8.tar.gz (11.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for r2pipe-1.8.8.tar.gz
Algorithm Hash digest
SHA256 c003a63b96debf5ce03dc2688aa2a54b86a750a6b2a3c1ec9dc41733e6f57254
MD5 74a69f3446c8c625fb9e278faffad336
BLAKE2b-256 f22644a626aea707ffcbfc750ab4ec3b3305da7b4d2b4c4d8c308e783847fdc3

See more details on using hashes here.

Supported by

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