Skip to main content

Python cross-version byte-code disassembler and marshal routines

Project description

buildstatus

xdis

Cross-Python bytecode Disassembler and Marshal routines

Introduction

The Python dis module allows you to disassemble byte from the same version of Python that you are running on. But what about bytecode from different versions?

That’s what this package is for. It can marshal load Python bytecodes from different versions of Python. The command-line routine pydisssemble will show disassembly output using Python 3.5 disassembly conventions

It accepts bytecodes from Python version 2.3 to 3.5 or so. The code requires Python 2.5 or later and has been tested on Python running versions 2.6, 2.7, pypy-5.0.1, 3.2, 3.3, 3.4 and 3.5.

Installation

This uses setup.py, so it follows the standard Python routine:

pip install -r requirements.txt
pip install -r requirements-dev.txt
python setup.py install # may need sudo
# or if you have pyenv:
python setup.py develop

A GNU makefile is also provided so make install (possibly as root or sudo) will do the steps above.

Testing

make check

A GNU makefile has been added to smooth over setting running the right command, and running tests from fastest to slowest.

If you have remake installed, you can see the list of all tasks including tests via remake --tasks

Usage

Run

./bin/pydisasm -h

for usage help.

See Also

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

xdis-1.1.2.tar.gz (56.6 kB view details)

Uploaded Source

Built Distributions

xdis-1.1.2-py3.5.egg (103.0 kB view details)

Uploaded Egg

xdis-1.1.2-py3.4.egg (103.1 kB view details)

Uploaded Egg

xdis-1.1.2-py2.py3-none-any.whl (46.8 kB view details)

Uploaded Python 2Python 3

xdis-1.1.2-py2.7.egg (100.3 kB view details)

Uploaded Egg

xdis-1.1.2-py2.6.egg (100.6 kB view details)

Uploaded Egg

File details

Details for the file xdis-1.1.2.tar.gz.

File metadata

  • Download URL: xdis-1.1.2.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.1.2.tar.gz
Algorithm Hash digest
SHA256 69185d6b703a935af417e350b5f01f5e83daaf41c3a6d40f0c262e6a2fd9ff58
MD5 a351038d6358dbe9e37aedcbc87399a8
BLAKE2b-256 ab1f227ae6389f6b1120a34e4b2bdef4b700212e88045352f0cf08a61a6821b6

See more details on using hashes here.

File details

Details for the file xdis-1.1.2-py3.5.egg.

File metadata

  • Download URL: xdis-1.1.2-py3.5.egg
  • Upload date:
  • Size: 103.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.1.2-py3.5.egg
Algorithm Hash digest
SHA256 8c979483a1119c12ea40524f0e79772afece1fcb4e547c2331d93f78fb8424aa
MD5 65f64089fbe37cee2f07462d7b08f6e6
BLAKE2b-256 5f40bf7fdfe29f30df82023968945016fe9ccfa8ebdecc25dfb9ba38a7af5600

See more details on using hashes here.

File details

Details for the file xdis-1.1.2-py3.4.egg.

File metadata

  • Download URL: xdis-1.1.2-py3.4.egg
  • Upload date:
  • Size: 103.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.1.2-py3.4.egg
Algorithm Hash digest
SHA256 d6e0c040935d7ecb101f5e419f105beb4c182f74685d487a17b296d8aa2c0d10
MD5 1cf36117d43f6ea38eecb3a103487c43
BLAKE2b-256 81f4a808116c56826b0a7f4fcb8c54e108d3b6c0b92908ec69d174a1f3afc081

See more details on using hashes here.

File details

Details for the file xdis-1.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xdis-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 35aec5e21167eed956dfc23684d60d2dc91dbc8be5dbf71cf09c247436deeb3b
MD5 fa3bda9eeb153efd0d978b094faf125b
BLAKE2b-256 3084a315785a54f10fd7f963492101a7c8e7818228194d981b5dc97aec955e39

See more details on using hashes here.

File details

Details for the file xdis-1.1.2-py2.7.egg.

File metadata

  • Download URL: xdis-1.1.2-py2.7.egg
  • Upload date:
  • Size: 100.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.1.2-py2.7.egg
Algorithm Hash digest
SHA256 9f238d108b1ece417a96f33a44bae4a4da15cbe05fbddc45829ad7479b614c4b
MD5 b6f09dc2a49bc6fbf24a5e76caf40655
BLAKE2b-256 3d764f540af6ce067d9a237cb1b392ed1d47cd47bc9ef6d506583a6ac4dc91a7

See more details on using hashes here.

File details

Details for the file xdis-1.1.2-py2.6.egg.

File metadata

  • Download URL: xdis-1.1.2-py2.6.egg
  • Upload date:
  • Size: 100.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdis-1.1.2-py2.6.egg
Algorithm Hash digest
SHA256 42fb0335af3bf6fd81eaf6bdf2b86dc6f3de498828d7ce03b4c0b8865413aea5
MD5 9f8f3be03b5bd22a86ab53a1510c37e1
BLAKE2b-256 e9c3be691dacd68a1bbe2b655d1512b4f915f46c45efe7f048bd6544c8573edb

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