Skip to main content

Inject code into a running Python process

Project description

This package is a fork of https://github.com/lmacken/pyrasite containing several important fixes to make pyrasite work on modern systems.

Requirements

  • gdb (version 7.3+ (or RHEL5+))

On OS X you will need to have a codesigned gdb - see https://sourceware.org/gdb/wiki/BuildingOnDarwin if you get errors while running with –verbose which mention codesigning.

On Linux machines, run echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope before running pyrasite.

Compatibility

Pyrasite works with Python 2.4 and newer. Injection works between versions as well, so you can run Pyrasite under Python 3 and inject into 2, and vice versa.

pyrasite-gui

The graphical interface can be found here: https://github.com/lmacken/pyrasite-gui

http://lewk.org/img/pyrasite/pyrasite-info-thumb.png

Authors

Created by Luke Macken with the help of David Malcolm and many other contributors. Logo by Adam Saunders.

Licenses

Code

https://www.gnu.org/graphics/gplv3-127x51.png

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

pyrasite-ng-2.0.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

pyrasite_ng-2.0-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file pyrasite-ng-2.0.tar.gz.

File metadata

  • Download URL: pyrasite-ng-2.0.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for pyrasite-ng-2.0.tar.gz
Algorithm Hash digest
SHA256 ffc47f9a0a8db5a092313533ef97e52fb167645b1bfb67f2490728a6f037224a
MD5 93c1e4c84e19705218a14c39f6799b90
BLAKE2b-256 d17c1e54317cbf6b1154dcc97cecdae3af34cc65f96d7787e8b1acdb8390fbbd

See more details on using hashes here.

File details

Details for the file pyrasite_ng-2.0-py3-none-any.whl.

File metadata

  • Download URL: pyrasite_ng-2.0-py3-none-any.whl
  • Upload date:
  • Size: 37.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for pyrasite_ng-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83eff7f5b660ac54214b2020821d23f0e14248a7751e0902de5ee7ea961632e6
MD5 f41e1f2fe8a3d350ada79114a0af757e
BLAKE2b-256 b8f709ec571fa5825944a50798d67671acc23831ba4f6467eaf15686bc1d8ffe

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