10 #include <capstone/capstone.h>
23 typedef const char *(*GetName_t)(
csh handle,
unsigned int id);
28 typedef const char *(*GetRegisterName_t)(
unsigned RegNo);
32 cs_regs regs_read,
uint8_t *regs_read_count,
33 cs_regs regs_write,
uint8_t *regs_write_count);
81 #define MAX_ARCH CS_ARCH_MAX
84 #define MODE_IS_BIG_ENDIAN(mode) (((mode) & CS_MODE_BIG_ENDIAN) != 0)
95 #define CS_ASSERT(expr) assert(expr)
97 #define CS_ASSERT(expr)
static mcore_handle handle
RzBinInfo * info(RzBinFile *bf)
cs_arch
Architecture type.
void(CAPSTONE_API * cs_free_t)(void *ptr)
#define CS_MNEMONIC_SIZE
Maximum size of an instruction mnemonic string.
cs_opt_value
Runtime option value (associated with option type above)
void *(CAPSTONE_API * cs_malloc_t)(size_t size)
void *(CAPSTONE_API * cs_calloc_t)(size_t nmemb, size_t size)
int(CAPSTONE_API * cs_vsnprintf_t)(char *str, size_t size, const char *format, va_list ap)
void *(CAPSTONE_API * cs_realloc_t)(void *ptr, size_t size)
void(* PostPrinter_t)(csh handle, cs_insn *, char *mnem, MCInst *mci)
cs_malloc_t cs_mem_malloc
cs_realloc_t cs_mem_realloc
void(* Printer_t)(MCInst *MI, SStream *OS, void *info)
cs_vsnprintf_t cs_vsnprintf
void(* GetID_t)(cs_struct *h, cs_insn *insn, unsigned int id)
const char *(* GetRegisterName_t)(unsigned RegNo)
cs_calloc_t cs_mem_calloc
bool(* Disasm_t)(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info)
const char *(* GetName_t)(csh handle, unsigned int id)
struct ARM_ITStatus ARM_ITStatus
void(* GetRegisterAccess_t)(const cs_insn *insn, cs_regs regs_read, uint8_t *regs_read_count, cs_regs regs_write, uint8_t *regs_write_count)
unsigned char ITStates[8]
GetRegisterAccess_t reg_access
unsigned short * insn_cache
GetRegisterName_t get_regname
struct insn_mnem * mnem_list
cs_opt_value imm_unsigned
cs_opt_skipdata skipdata_setup
PostPrinter_t post_printer
const uint8_t * regsize_map
struct customized_mnem insn