Skip to main content

The Bitdefender disassembler Python wrapper

Project description

The Bitdefender disassembler Python wrapper


Building and installing is easy:

python3 build
python3 install


Use it by importing the pybddisasm module:

import pybddisasm

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


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:

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

    offset += instr.Length


Use pip to install the package:

pip install pybddisasm

Project details

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

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

Uploaded cp310

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

Uploaded cp39

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

Uploaded cp38

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

Uploaded cp37

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

Uploaded cp36

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

Uploaded cp35

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page