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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for r2pipe-1.9.6.tar.gz
Algorithm Hash digest
SHA256 3804b762bd4298c32e8443ffb513bd6007586777a689bd21b97977feb8cb2c99
MD5 e1a1bba12a9879d2934bd19b8040ab85
BLAKE2b-256 531c674d70acdc1a03099db8728f8e5154b2a6c686e1e7a261dd66221777768b

See more details on using hashes here.

Supported by

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