mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-12-23 14:38:22 +00:00
22 lines
318 B
Markdown
22 lines
318 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 pydis.disasm module:
|
||
|
|
||
|
```python
|
||
|
from pydis.disasm import *
|
||
|
|
||
|
instr = nd_decode_ex2(buff, arch, arch, arch, vendor, current_rip)
|
||
|
```
|
||
|
|