1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-10 15:20:52 +00:00
bddisasm/pybddisasm
Andrei Vlad LUTAS e26971b4f0 Added missing Default 64 flag for the ENTER instruction.
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.
2020-11-06 14:19:22 +02:00
..
_pybddisasm Added support for UINTR, HRESET and AVX-VNNI instructions, as per Intel® Architecture Instruction Set Extensions Programming Reference 41 (October 2020). 2020-10-05 13:19:03 +03:00
pybddisasm Modified the python-disassembler-wraper to be able to be installed using pip. 2020-08-04 13:57:03 +03:00
LICENSE Modified the python-disassembler-wraper to be able to be installed using pip. 2020-08-04 13:57:03 +03:00
MANIFEST.in Modified the python-disassembler-wraper to be able to be installed using pip. 2020-08-04 13:57:03 +03:00
README.md Modified the python-disassembler-wraper to be able to be installed using pip. 2020-08-04 13:57:03 +03:00
setup.cfg Modified the python-disassembler-wraper to be able to be installed using pip. 2020-08-04 13:57:03 +03:00
setup.py Added missing Default 64 flag for the ENTER instruction. 2020-11-06 14:19:22 +02:00

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