#include <stddef.h>
#include "include/capstone/capstone.h"
#include "cs_priv.h"
Go to the source code of this file.
|
bool | arr_exist (uint16_t *arr, unsigned char max, unsigned int id) |
|
bool | arr_exist8 (unsigned char *arr, unsigned char max, unsigned int id) |
|
unsigned int | count_positive (const uint16_t *list) |
|
unsigned int | count_positive8 (const unsigned char *list) |
|
int | cs_snprintf (char *buffer, size_t size, const char *fmt,...) |
|
char * | cs_strdup (const char *str) |
|
const char * | id2name (const name_map *map, int max, const unsigned int id) |
|
unsigned short | insn_find (const insn_map *m, unsigned int max, unsigned int id, unsigned short **cache) |
|
int | name2id (const name_map *map, int max, const char *name) |
|
◆ ARR_SIZE
#define ARR_SIZE |
( |
|
a | ) |
(sizeof(a)/sizeof(a[0])) |
◆ CS_AC_IGNORE
#define CS_AC_IGNORE (1 << 7) |
◆ HEX_THRESHOLD
◆ MATRIX_SIZE
#define MATRIX_SIZE |
( |
|
a | ) |
(sizeof(a[0])/sizeof(a[0][0])) |
◆ MIN
#define MIN |
( |
|
x, |
|
|
|
y |
|
) |
| ((x) < (y) ? (x) : (y)) |
◆ insn_map
◆ name_map
◆ arr_exist()
◆ arr_exist8()
bool arr_exist8 |
( |
unsigned char * |
arr, |
|
|
unsigned char |
max, |
|
|
unsigned int |
id |
|
) |
| |
◆ count_positive()
◆ count_positive8()
unsigned int count_positive8 |
( |
const unsigned char * |
list | ) |
|
◆ cs_snprintf()
int cs_snprintf |
( |
char * |
buffer, |
|
|
size_t |
size, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ cs_strdup()
char* cs_strdup |
( |
const char * |
str | ) |
|
◆ id2name()
◆ insn_find()
unsigned short insn_find |
( |
const insn_map * |
m, |
|
|
unsigned int |
max, |
|
|
unsigned int |
id, |
|
|
unsigned short ** |
cache |
|
) |
| |
◆ name2id()