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.
_xeroxz 305167eb51
init commit
3 years ago
..
CDisassembler.cls init commit 3 years ago
CInstDetails.cls init commit 3 years ago
CInstruction.cls init commit 3 years ago
CX86Inst.cls init commit 3 years ago
CX86OpMem.cls init commit 3 years ago
CX86Operand.cls init commit 3 years ago
Form1.frm init commit 3 years ago
Form1.frx init commit 3 years ago
Module1.bas init commit 3 years ago
Project1.vbp init commit 3 years ago
Project1.vbw init commit 3 years ago
README.txt init commit 3 years ago
mMisc.bas init commit 3 years ago
mx86.bas init commit 3 years ago
screenshot.png init commit 3 years ago
vbCapstone.cpp init commit 3 years ago
vbCapstone.sln init commit 3 years ago
vbCapstone.vcproj init commit 3 years ago

README.txt


Capstone Disassembly Engine bindings for VB6
Contributed by FireEye FLARE Team
Author: David Zimmer ,
License: Apache
Copyright: FireEye 2017

This is a sample for using the capstone disassembly engine with VB6.

All of the capstone API are implemented, so this lib supports basic
disassembly of all of the processor architectures that capstone implements.

In the vb code, full instruction details are currently only supported for
the x86 processor family.

This sample was built against Capstone 3.0 rc4. Note that if the capstone
structures change in the future this code will have to be adjusted to match.

The vbCapstone.dll is written in C. Project files are provided for VS2008.
It is a small shim to give VB6 access to a stdcall API to access capstone.
You could also modify capstone itself so its exports were stdcall.

The C project has an additional include directory set to ./../../include/
for . This is for the /capstone/bindings/vb6/ directory structure