| 1 |
|
| 2 |
Capstone Disassembly Engine bindings for VB6 |
| 3 |
Contributed by FireEye FLARE Team |
| 4 |
Author: David Zimmer <[email protected]>, <[email protected]> |
| 5 |
License: Apache 2.0 |
| 6 |
Copyright: FireEye 2017 |
| 7 |
|
| 8 |
This is a sample for using the capstone disassembly engine with VB6. |
| 9 |
|
| 10 |
All of the capstone API are implemented, so this lib supports basic |
| 11 |
disassembly of all of the processor architectures that capstone implements. |
| 12 |
|
| 13 |
In the vb code, full instruction details are currently only supported for |
| 14 |
the x86 processor family. |
| 15 |
|
| 16 |
This sample was built against Capstone 3.0 rc4. Note that if the capstone |
| 17 |
structures change in the future this code will have to be adjusted to match. |
| 18 |
|
| 19 |
The vbCapstone.dll is written in C. Project files are provided for VS2008. |
| 20 |
It is a small shim to give VB6 access to a stdcall API to access capstone. |
| 21 |
You could also modify capstone itself so its exports were stdcall. |
| 22 |
|
| 23 |
The C project has an additional include directory set to ./../../include/ |
| 24 |
for <capstone.h>. This is for the /capstone/bindings/vb6/ directory structure |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|