#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Go to the source code of this file.
◆ _this_printf [1/2]
#define _this_printf |
( |
|
... | ) |
|
Value: { \
size_t used = 0; \
used = snprintf(
buf + *
cur, *left, __VA_ARGS__); \
*left -= used; \
}
◆ _this_printf [2/2]
#define _this_printf |
( |
|
... | ) |
|
Value: { \
size_t used = 0; \
used = snprintf(tmp_buf +
cur, left, __VA_ARGS__); \
left -= used; \
cur += used; \
}
◆ MAX_INVALID_CODES
#define MAX_INVALID_CODES 16 |
◆ MAX_VALID_CODES
#define MAX_VALID_CODES 16 |
◆ hex_string()
static char* hex_string |
( |
unsigned char * |
str, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ main()
◆ print_insn_detail()
static void print_insn_detail |
( |
cs_insn * |
ins | ) |
|
|
static |
◆ snprint_insn_detail()
static void snprint_insn_detail |
( |
char * |
buf, |
|
|
size_t * |
cur, |
|
|
size_t * |
left, |
|
|
cs_insn * |
ins |
|
) |
| |
|
static |
◆ test_invalids()
static void test_invalids |
( |
| ) |
|
|
static |
◆ test_valids()
static void test_valids |
( |
| ) |
|
|
static |
◆ handle