Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Go to the source code of this file.
Classes | |
struct | platform |
Macros | |
#define | M68K_CODE "\x4C\x00\x54\x04\x48\xe7\xe0\x30\x4C\xDF\x0C\x07\xd4\x40\x87\x5a\x4e\x71\x02\xb4\xc0\xde\xc0\xde\x5c\x00\x1d\x80\x71\x12\x01\x23\xf2\x3c\x44\x22\x40\x49\x0e\x56\x54\xc5\xf2\x3c\x44\x00\x44\x7a\x00\x00\xf2\x00\x0a\x28\x4E\xB9\x00\x00\x00\x12\x4E\x75" |
Functions | |
static void | print_string_hex (const char *comment, unsigned char *str, size_t len) |
static void | print_read_write_regs (cs_detail *detail) |
static void | print_insn_detail (cs_insn *ins) |
static void | test () |
int | main () |
Variables | |
static csh | handle |
const char * | s_addressing_modes [] |
#define M68K_CODE "\x4C\x00\x54\x04\x48\xe7\xe0\x30\x4C\xDF\x0C\x07\xd4\x40\x87\x5a\x4e\x71\x02\xb4\xc0\xde\xc0\xde\x5c\x00\x1d\x80\x71\x12\x01\x23\xf2\x3c\x44\x22\x40\x49\x0e\x56\x54\xc5\xf2\x3c\x44\x00\x44\x7a\x00\x00\xf2\x00\x0a\x28\x4E\xB9\x00\x00\x00\x12\x4E\x75" |
int main | ( | void | ) |
Definition at line 209 of file test_m68k.c.
References test().
|
static |
Definition at line 80 of file test_m68k.c.
References cs_reg_name(), test_evm::detail, handle, i, M68K_OP_FP_DOUBLE, M68K_OP_FP_SINGLE, M68K_OP_IMM, M68K_OP_MEM, M68K_OP_REG, M68K_OP_REG_BITS, M68K_OP_REG_PAIR, M68K_REG_INVALID, NULL, print_read_write_regs(), printf(), and s_addressing_modes.
Referenced by test().
|
static |
Definition at line 61 of file test_m68k.c.
References cs_reg_name(), handle, i, and printf().
Referenced by print_insn_detail().
Definition at line 19 of file test_m68k.c.
References c, len, printf(), and cmd_descs_generate::str.
Referenced by test().
|
static |
Definition at line 151 of file test_m68k.c.
References arch, platform::comment, count, CS_ARCH_M68K, cs_close(), cs_disasm(), cs_free(), CS_MODE_BIG_ENDIAN, CS_MODE_M68K_040, cs_open(), CS_OPT_DETAIL, CS_OPT_ON, cs_option(), err, handle, i, M68K_CODE, platforms, print_insn_detail(), print_string_hex(), printf(), and PRIx64.
Referenced by main().
|
static |
Definition at line 17 of file test_m68k.c.
Referenced by print_insn_detail(), print_read_write_regs(), and test().
const char* s_addressing_modes[] |
Definition at line 31 of file test_m68k.c.
Referenced by print_insn_detail().