Macros | Functions
vbCapstone.cpp File Reference
#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <capstone.h>
Include dependency graph for vbCapstone.cpp:

Go to the source code of this file.

Macros

#define EXPORT   comment(linker, "/EXPORT:"__FUNCTION__"="__FUNCDNAME__)
 

Functions

const char *__stdcall bcs_group_name (csh handle, unsigned int group_id)
 
cs_err __stdcall bs_close (csh *handle)
 
size_t __stdcall bs_disasm (csh handle, const uint8_t *code, size_t code_size, uint64_t address, size_t count, cs_insn **insn)
 
bool __stdcall bs_disasm_iter (csh handle, const uint8_t **code, size_t *size, uint64_t *address, cs_insn *insn)
 
cs_err __stdcall bs_errno (csh handle)
 
void __stdcall bs_free (cs_insn *insn, size_t count)
 
bool __stdcall bs_insn_group (csh handle, const cs_insn *insn, unsigned int group_id)
 
const char *__stdcall bs_insn_name (csh handle, unsigned int insn_id)
 
cs_insn *__stdcall bs_malloc (csh handle)
 
int __stdcall bs_op_count (csh handle, const cs_insn *insn, unsigned int op_type)
 
int __stdcall bs_op_index (csh handle, const cs_insn *insn, unsigned int op_type, unsigned int position)
 
cs_err __stdcall bs_open (cs_arch arch, cs_mode mode, csh *handle)
 
cs_err __stdcall bs_option (csh handle, cs_opt_type type, size_t value)
 
const char *__stdcall bs_reg_name (csh handle, unsigned int reg_id)
 
bool __stdcall bs_reg_read (csh handle, const cs_insn *insn, unsigned int reg_id)
 
bool __stdcall bs_reg_write (csh handle, const cs_insn *insn, unsigned int reg_id)
 
const char *__stdcall bs_strerror (cs_err code)
 
bool __stdcall bs_support (int query)
 
unsigned int __stdcall bs_version (int *major, int *minor)
 
void __stdcall getInstruction (cs_insn *insn, uint32_t index, void *curInst, uint32_t bufSize)
 

Macro Definition Documentation

◆ EXPORT

#define EXPORT   comment(linker, "/EXPORT:"__FUNCTION__"="__FUNCDNAME__)

Definition at line 18 of file vbCapstone.cpp.

Function Documentation

◆ bcs_group_name()

const char* __stdcall bcs_group_name ( csh  handle,
unsigned int  group_id 
)

Definition at line 106 of file vbCapstone.cpp.

◆ bs_close()

cs_err __stdcall bs_close ( csh handle)

Definition at line 35 of file vbCapstone.cpp.

◆ bs_disasm()

size_t __stdcall bs_disasm ( csh  handle,
const uint8_t code,
size_t  code_size,
uint64_t  address,
size_t  count,
cs_insn **  insn 
)

Definition at line 55 of file vbCapstone.cpp.

◆ bs_disasm_iter()

bool __stdcall bs_disasm_iter ( csh  handle,
const uint8_t **  code,
size_t *  size,
uint64_t address,
cs_insn *  insn 
)

Definition at line 116 of file vbCapstone.cpp.

◆ bs_errno()

cs_err __stdcall bs_errno ( csh  handle)

Definition at line 45 of file vbCapstone.cpp.

◆ bs_free()

void __stdcall bs_free ( cs_insn *  insn,
size_t  count 
)

Definition at line 70 of file vbCapstone.cpp.

◆ bs_insn_group()

bool __stdcall bs_insn_group ( csh  handle,
const cs_insn *  insn,
unsigned int  group_id 
)

Definition at line 101 of file vbCapstone.cpp.

◆ bs_insn_name()

const char* __stdcall bs_insn_name ( csh  handle,
unsigned int  insn_id 
)

Definition at line 111 of file vbCapstone.cpp.

◆ bs_malloc()

cs_insn* __stdcall bs_malloc ( csh  handle)

Definition at line 75 of file vbCapstone.cpp.

◆ bs_op_count()

int __stdcall bs_op_count ( csh  handle,
const cs_insn *  insn,
unsigned int  op_type 
)

Definition at line 86 of file vbCapstone.cpp.

◆ bs_op_index()

int __stdcall bs_op_index ( csh  handle,
const cs_insn *  insn,
unsigned int  op_type,
unsigned int  position 
)

Definition at line 81 of file vbCapstone.cpp.

◆ bs_open()

cs_err __stdcall bs_open ( cs_arch  arch,
cs_mode  mode,
csh handle 
)

Definition at line 30 of file vbCapstone.cpp.

◆ bs_option()

cs_err __stdcall bs_option ( csh  handle,
cs_opt_type  type,
size_t  value 
)

Definition at line 40 of file vbCapstone.cpp.

◆ bs_reg_name()

const char* __stdcall bs_reg_name ( csh  handle,
unsigned int  reg_id 
)

Definition at line 65 of file vbCapstone.cpp.

◆ bs_reg_read()

bool __stdcall bs_reg_read ( csh  handle,
const cs_insn *  insn,
unsigned int  reg_id 
)

Definition at line 96 of file vbCapstone.cpp.

◆ bs_reg_write()

bool __stdcall bs_reg_write ( csh  handle,
const cs_insn *  insn,
unsigned int  reg_id 
)

Definition at line 91 of file vbCapstone.cpp.

◆ bs_strerror()

const char* __stdcall bs_strerror ( cs_err  code)

Definition at line 50 of file vbCapstone.cpp.

◆ bs_support()

bool __stdcall bs_support ( int  query)

Definition at line 25 of file vbCapstone.cpp.

◆ bs_version()

unsigned int __stdcall bs_version ( int major,
int minor 
)

Definition at line 20 of file vbCapstone.cpp.

◆ getInstruction()

void __stdcall getInstruction ( cs_insn *  insn,
uint32_t  index,
void *  curInst,
uint32_t  bufSize 
)

Definition at line 60 of file vbCapstone.cpp.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:37