Go to the documentation of this file.
16 #pragma comment(lib, "capstone.lib")
18 #define EXPORT comment(linker, "/EXPORT:"__FUNCTION__"="__FUNCDNAME__)
20 unsigned int __stdcall
bs_version(
int *major,
int *minor){
void __stdcall getInstruction(cs_insn *insn, uint32_t index, void *curInst, uint32_t bufSize)
CAPSTONE_EXPORT int CAPSTONE_API cs_op_index(csh ud, const cs_insn *insn, unsigned int op_type, unsigned int post)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_close(csh *handle)
cs_opt_type
Runtime option for the disassembled engine.
bool __stdcall bs_support(int query)
CAPSTONE_EXPORT size_t CAPSTONE_API cs_disasm(csh ud, const uint8_t *buffer, size_t size, uint64_t offset, size_t count, cs_insn **insn)
cs_err __stdcall bs_errno(csh handle)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle)
const char *__stdcall bs_insn_name(csh handle, unsigned int insn_id)
cs_arch
Architecture type.
bool __stdcall bs_disasm_iter(csh handle, const uint8_t **code, size_t *size, uint64_t *address, cs_insn *insn)
CAPSTONE_EXPORT bool CAPSTONE_API cs_reg_write(csh ud, const cs_insn *insn, unsigned int reg_id)
void __stdcall bs_free(cs_insn *insn, size_t count)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_option(csh ud, cs_opt_type type, size_t value)
CAPSTONE_EXPORT int CAPSTONE_API cs_op_count(csh ud, const cs_insn *insn, unsigned int op_type)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
const CAPSTONE_EXPORT char *CAPSTONE_API cs_insn_name(csh ud, unsigned int insn)
size_t __stdcall bs_disasm(csh handle, const uint8_t *code, size_t code_size, uint64_t address, size_t count, cs_insn **insn)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
unsigned __int64 uint64_t
CAPSTONE_EXPORT bool CAPSTONE_API cs_support(int query)
const char *__stdcall bs_strerror(cs_err code)
bool __stdcall bs_reg_write(csh handle, const cs_insn *insn, unsigned int reg_id)
int __stdcall bs_op_index(csh handle, const cs_insn *insn, unsigned int op_type, unsigned int position)
const char *__stdcall bs_reg_name(csh handle, unsigned int reg_id)
const char *__stdcall bcs_group_name(csh handle, unsigned int group_id)
CAPSTONE_EXPORT bool CAPSTONE_API cs_disasm_iter(csh ud, const uint8_t **code, size_t *size, uint64_t *address, cs_insn *insn)
cs_err __stdcall bs_option(csh handle, cs_opt_type type, size_t value)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_strerror(cs_err code)
bool __stdcall bs_reg_read(csh handle, const cs_insn *insn, unsigned int reg_id)
cs_err __stdcall bs_close(csh *handle)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_group_name(csh ud, unsigned int group)
bool __stdcall bs_insn_group(csh handle, const cs_insn *insn, unsigned int group_id)
CAPSTONE_EXPORT cs_insn *CAPSTONE_API cs_malloc(csh ud)
cs_err __stdcall bs_open(cs_arch arch, cs_mode mode, csh *handle)
CAPSTONE_EXPORT void CAPSTONE_API cs_free(cs_insn *insn, size_t count)
int __stdcall bs_op_count(csh handle, const cs_insn *insn, unsigned int op_type)
cs_insn *__stdcall bs_malloc(csh handle)
CAPSTONE_EXPORT bool CAPSTONE_API cs_insn_group(csh ud, const cs_insn *insn, unsigned int group_id)
unsigned int __stdcall bs_version(int *major, int *minor)
CAPSTONE_EXPORT unsigned int CAPSTONE_API cs_version(int *major, int *minor)
CAPSTONE_EXPORT bool CAPSTONE_API cs_reg_read(csh ud, const cs_insn *insn, unsigned int reg_id)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_errno(csh handle)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:50