You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
406 B
29 lines
406 B
4 years ago
|
# The Bitdefender disassembler Python wrapper
|
||
|
|
||
|
## Build
|
||
|
|
||
|
Building and installing is easy:
|
||
|
|
||
|
```bash
|
||
|
python3 setup.py build
|
||
|
python3 setup.py install
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
4 years ago
|
Use it by importing the pybddisasm.disasm module:
|
||
4 years ago
|
|
||
|
```python
|
||
4 years ago
|
from pybddisasm.bddisasm import *
|
||
4 years ago
|
|
||
|
instr = nd_decode_ex2(buff, arch, arch, arch, vendor, current_rip)
|
||
|
```
|
||
|
|
||
4 years ago
|
## Pip
|
||
|
|
||
|
Use pip to install the package:
|
||
|
|
||
|
```bash
|
||
|
pip install pybddisasm
|
||
|
```
|