mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-11-26 09:28:07 +00:00
29 lines
406 B
Markdown
29 lines
406 B
Markdown
# The Bitdefender disassembler Python wrapper
|
|
|
|
## Build
|
|
|
|
Building and installing is easy:
|
|
|
|
```bash
|
|
python3 setup.py build
|
|
python3 setup.py install
|
|
```
|
|
|
|
## Usage
|
|
|
|
Use it by importing the pybddisasm.disasm module:
|
|
|
|
```python
|
|
from pybddisasm.bddisasm import *
|
|
|
|
instr = nd_decode_ex2(buff, arch, arch, arch, vendor, current_rip)
|
|
```
|
|
|
|
## Pip
|
|
|
|
Use pip to install the package:
|
|
|
|
```bash
|
|
pip install pybddisasm
|
|
```
|