Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_asm.h>
#include <rz_lib.h>
#include <ht_uu.h>
#include <capstone/capstone.h>
#include "../arch/arm/asm-arm.h"
#include "../arch/arm/arm_it.h"
#include "./asm_arm_hacks.inc"
Go to the source code of this file.
Classes | |
struct | arm_cs_context_t |
Typedefs | |
typedef struct arm_cs_context_t | ArmCSContext |
Functions | |
bool | arm64ass (const char *str, ut64 addr, ut32 *op) |
static bool | check_features (RzAsm *a, cs_insn *insn) |
static const char * | cc_name (arm_cc cc) |
static int | disassemble (RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) |
static int | assemble (RzAsm *a, RzAsmOp *op, const char *buf) |
static bool | arm_init (void **user) |
static bool | arm_fini (void *user) |
static char * | mnemonics (RzAsm *a, int id, bool json) |
Variables | |
RzAsmPlugin | rz_asm_plugin_arm_cs |
RZ_API RzLibStruct | rizin_plugin |
typedef struct arm_cs_context_t ArmCSContext |
Definition at line 1348 of file armass64.c.
References addr, adr(), adrp(), arithmetic(), ARM_AND, ARM_ANDS, ARM_EOR, ARM_ORR, bitfield(), branch(), cb(), cmp(), exception(), free(), handlePAC(), logical(), lsop(), mem_barrier(), mov(), msr(), neg(), ops, parse_bdot(), parseOpcode(), reglsop(), regsluop(), stp(), cmd_descs_generate::str, and UT32_MAX.
Referenced by assemble().
|
static |
Definition at line 252 of file asm_arm_cs.c.
References cs_close(), free(), rz_arm_it_context_fini(), and rz_return_val_if_fail.
|
static |
Definition at line 239 of file asm_arm_cs.c.
References rz_arm_it_context_init(), and RZ_NEW0.
Definition at line 190 of file asm_arm_cs.c.
References a, arm64ass(), armass_assemble(), is_thumb(), RZ_LOG_ERROR, rz_strbuf_setbin(), rz_write_be16(), rz_write_be32(), rz_write_le16(), rz_write_le32(), UT16_MAX, and UT32_MAX.
Definition at line 21 of file asm_arm_cs.c.
References a, ARM_GRP_ARM, ARM_GRP_THUMB, ARM_GRP_THUMB1ONLY, ARM_GRP_THUMB2, cs_group_name(), i, and if().
Referenced by disassemble().
Definition at line 86 of file asm_arm_cs.c.
References a, ARM_INS_IT, cc_name(), check_features(), CS_ARCH_ARM, CS_ARCH_ARM64, cs_close(), cs_disasm(), cs_free(), cs_insn_name(), CS_MODE_ARM, CS_MODE_BIG_ENDIAN, CS_MODE_LITTLE_ENDIAN, CS_MODE_MCLASS, CS_MODE_THUMB, CS_MODE_V8, cs_open(), CS_OPT_DETAIL, CS_OPT_OFF, CS_OPT_ON, CS_OPT_SYNTAX, CS_OPT_SYNTAX_DEFAULT, CS_OPT_SYNTAX_NOREGNAME, cs_option(), free(), len, n, NULL, rz_arm_it_apply_cond(), rz_arm_it_update_block(), rz_arm_it_update_nonblock(), RZ_ASM_SYNTAX_REGNUM, RZ_MIN, rz_str_cpy, rz_str_newf(), rz_str_replace_char(), rz_strbuf_get(), rz_strbuf_set(), and sdb_fmt().
Definition at line 261 of file asm_arm_cs.c.
References a, cs_insn_name(), i, NULL, rz_str_newf(), rz_strbuf_append(), rz_strbuf_drain(), rz_strbuf_new(), and strdup().
RZ_API RzLibStruct rizin_plugin |
Definition at line 323 of file asm_arm_cs.c.
RzAsmPlugin rz_asm_plugin_arm_cs |
Definition at line 298 of file asm_arm_cs.c.