Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static unsigned short * | make_id2insn (const insn_map *insns, unsigned int size) |
unsigned short | insn_find (const insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache) |
int | name2id (const name_map *map, int max, const char *name) |
const char * | id2name (const name_map *map, int max, const unsigned int id) |
unsigned int | count_positive (const uint16_t *list) |
unsigned int | count_positive8 (const unsigned char *list) |
char * | cs_strdup (const char *str) |
int | cs_snprintf (char *buffer, size_t size, const char *fmt,...) |
bool | arr_exist8 (unsigned char *arr, unsigned char max, unsigned int id) |
bool | arr_exist (uint16_t *arr, unsigned char max, unsigned int id) |
Definition at line 128 of file utils.c.
References syscall_preprocessing::arr, i, and max.
Referenced by cs_reg_read(), and cs_reg_write().
Definition at line 104 of file utils.c.
References cs_vsnprintf.
Referenced by cs_winkernel_vsnprintf_test(), and skipdata_opstr().
char* cs_strdup | ( | const char * | str | ) |
Definition at line 92 of file utils.c.
References cs_mem_malloc, len, NULL, and cmd_descs_generate::str.
unsigned short insn_find | ( | const insn_map * | insns, |
unsigned int | max, | ||
unsigned int | id, | ||
unsigned short ** | cache | ||
) |
Definition at line 31 of file utils.c.
References id, insns, make_id2insn(), max, and NULL.
Definition at line 15 of file utils.c.
References cs_mem_calloc, i, and insns.
Referenced by insn_find().