Skip to main content

The Bitdefender disassembler Python wrapper

Build

Building and installing is easy:

python3 setup.py build
python3 setup.py install

Usage

Use it by importing the pybddisasm module:

import pybddisasm

ret, instr = pybddisasm.nd_decode_ex(code, def_code, def_data, def_stack)

Example

import pybddisasm

code = b"\x55\x48\x8b\x05\xb8\x13\x00\x00"
offset = 0

while offset < len(code):
    _, instr = pybddisasm.nd_decode_ex(code[offset:], len(code[offset:]), pybddisasm.ND_CODE_64, pybddisasm.ND_DATA_64)

    if instr is None:
        break

    _, text = pybddisasm.nd_to_text(instr, 0x0)
    print(text)

    offset += instr.Length

Pip

Use pip to install the package:

pip install pybddisasm

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pybddisasm-0.2.1-cp310-cp310-win_amd64.whl (274.1 kB view details)

Uploaded CPython 3.10Windows x86-64

pybddisasm-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pybddisasm-0.2.1-cp39-cp39-win_amd64.whl (274.1 kB view details)

Uploaded CPython 3.9Windows x86-64

pybddisasm-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pybddisasm-0.2.1-cp38-cp38-win_amd64.whl (274.2 kB view details)

Uploaded CPython 3.8Windows x86-64

pybddisasm-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pybddisasm-0.2.1-cp37-cp37m-win_amd64.whl (273.6 kB view details)

Uploaded CPython 3.7mWindows x86-64

pybddisasm-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pybddisasm-0.2.1-cp36-cp36m-win_amd64.whl (284.6 kB view details)

Uploaded CPython 3.6mWindows x86-64

pybddisasm-0.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

pybddisasm-0.2.1-cp35-cp35m-win_amd64.whl (284.4 kB view details)

Uploaded CPython 3.5mWindows x86-64

pybddisasm-0.2.1-cp35-cp35m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.17+ x86-64

File details

Details for the file pybddisasm-0.2.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 274.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 577dbc14f9d4acd4b095c124dc0c4886bedb486ad0e16877ee381c86cb19956e
MD5 1f23fa7c3d289b3c3a1d9797f18360b8
BLAKE2b-256 527901ac3dd6d9b274636d8ee783786e7af307affcdf50f5a05f09b3bd47afc5

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 76a03943d7a3ff5c138c858e9acc9d1afb5acc888413732bd8de65394448774a
MD5 052ad1d58029b0f78848f3c84a45c737
BLAKE2b-256 a108ba1ac98ff2d5ce8504c648a12151c10efc0052c51eab3688fc1205e9e32a

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 274.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 36f69d1a4c570aab87fe2e372b244aaa32defea0d9ecc98d0894bda458f9b7ec
MD5 2f58e56db10a359e5b0316b5226a44c8
BLAKE2b-256 85eabc821aad965badcb6438511f2ca075151bc45cfbfc99023b9795406d0afc

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c92382753e1ae60c898602d0d2caf1524c535d8cfcf359f9f5639fbe88df38b4
MD5 9a5308faa8bdca0935729c32da02a935
BLAKE2b-256 b055e2b5d5c3ba5dc8fbf507a008d4ba00e4d31434e58a224233a85f89c23062

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 274.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9efabd01fb1c9a3a4ea4936386525327a0046d1deef2df9aad2e33be6e03a883
MD5 f84308ff36a884bd83e4b22ee7d63395
BLAKE2b-256 eb61cab09e0d87a894c2fb2158e18eca65cd6be616a085af32805bbaf9dfea55

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba4ad5dc7d67b40272b5a33b29df9eb7fab1dc444d0eb4ce91949c7af808eaee
MD5 33d05c5d6365a7a2a1e5caff7a21881b
BLAKE2b-256 b670b8ef47cd9e2f3ccda83986d1318e039b5e255057180bcb5a20016a2f4910

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 273.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 dbc6a9be5b167ed5e4a5b5dedbce2554a9873faf8614840482cf47977c7db240
MD5 87dd814b0dfa4d0886d3470b371babe7
BLAKE2b-256 00d11db8d8ffc0886d3a01990db251109d2564cb3ced53d7ad5ee951096c0fc1

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e3cf42d22ba4a99765ff31aeba2ca809f8aa75865aaff1df654592b4c690a40
MD5 29cbd018538fd64e8e3ae38c52b8a57b
BLAKE2b-256 93dc9975b99969b67d5e623f82504b6ed20ac0ec03c31f88ca84d409ccb27915

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 284.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a00ac801eec46ac49347a435d8b845f93781ad6c93e3b73fd955b8ca5e09c0af
MD5 55a8280b8e2185fa46adf3bb8b46d8a3
BLAKE2b-256 eae84b138e1ad5071a7e3073528d2808b6dcc4ab310a3aec3cc852e36f505417

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2bcf8d37124f552b06194da438f568b684d05e428fd770ec659018835fcccc48
MD5 ea6152a7e858a0090ad1c383e9303cf2
BLAKE2b-256 8b931cc702bfb4d443d71a603710a8e3a792bfb6755b5624bc0af2a5e8a5e0bc

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 284.4 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 72d984004e52e5b6d58324bdc8b1e66fa7f72f36dc3cf31c7f3d29ef1037b948
MD5 8580ecfbe1f54f04f97979dde30f0d38
BLAKE2b-256 833840a2309592e34b07c483662e46fa0b20f9d627c311facd6d4d9498c00dcc

See more details on using hashes here.

File details

Details for the file pybddisasm-0.2.1-cp35-cp35m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: pybddisasm-0.2.1-cp35-cp35m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pybddisasm-0.2.1-cp35-cp35m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89ed79f13a5857dd846da81b619741c622f6ddcdcdea2bffc94c22c62dc88c84
MD5 0789cfb2b375dc2df4a0ed608212a4fa
BLAKE2b-256 c5abc6138c417a2d8972e7621c85eb1fb25fc2584f0bdd9843319a66beeb6926

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

10 files

This release

0.2.1 This release

12 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page