mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-10 15:20:52 +00:00
e26971b4f0
On AMD, operand size is never forced to 64 bit - instead, it only defaults to 64 bit, which means that 0x66 can be used to encode 16 bit version of the instructions. |
||
---|---|---|
.. | ||
_pybddisasm | ||
pybddisasm | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
setup.cfg | ||
setup.py |
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.disasm module:
from pybddisasm.bddisasm import *
instr = nd_decode_ex2(buff, arch, arch, arch, vendor, current_rip)
Pip
Use pip to install the package:
pip install pybddisasm