Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <rz_types.h>
#include <rz_lib.h>
#include <rz_util.h>
#include <rz_asm.h>
#include "disas-asm.h"
Go to the source code of this file.
Functions | |
static int | cris_buffer_read_memory (bfd_vma memaddr, bfd_byte *myaddr, ut32 length, struct disassemble_info *info) |
static int | symbol_at_address (bfd_vma addr, struct disassemble_info *info) |
static void | memory_error_func (int status, bfd_vma memaddr, struct disassemble_info *info) |
bfd_boolean | cris_parse_disassembler_options (disassemble_info *info, int distype) |
int | print_insn_crisv10_v32_with_register_prefix (bfd_vma vma, disassemble_info *info) |
int | print_insn_crisv10_v32_without_register_prefix (bfd_vma vma, disassemble_info *info) |
int | print_insn_cris_with_register_prefix (bfd_vma vma, disassemble_info *info) |
int | print_insn_cris_without_register_prefix (bfd_vma vma, disassemble_info *info) |
int | print_insn_crisv32_with_register_prefix (bfd_vma vma, disassemble_info *info) |
int | print_insn_crisv32_without_register_prefix (bfd_vma vma, disassemble_info *info) |
static int | disassemble (RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) |
Variables | |
static unsigned long | Offset = 0 |
static RzStrBuf * | buf_global = NULL |
static unsigned char | bytes [8] |
RzAsmPlugin | rz_asm_plugin_cris_gnu |
RZ_API RzLibStruct | rizin_plugin |
|
static |
Definition at line 28 of file asm_cris_gnu.c.
References bytes, delta, length, memcpy(), and Offset.
Referenced by disassemble().
bfd_boolean cris_parse_disassembler_options | ( | disassemble_info * | info, |
int | distype | ||
) |
Referenced by disassemble().
Definition at line 61 of file asm_cris_gnu.c.
References a, buf_global, disassemble_info::buffer, bytes, cris_buffer_read_memory(), cris_parse_disassembler_options(), disassemble_info::disassembler_options, disassemble_info::endian, disassemble_info::fprintf_func, len, memcpy(), memory_error_func(), disassemble_info::memory_error_func, memset(), Offset, disassemble_info::print_address_func, print_insn_cris_with_register_prefix(), print_insn_cris_without_register_prefix(), print_insn_crisv10_v32_with_register_prefix(), print_insn_crisv10_v32_without_register_prefix(), print_insn_crisv32_with_register_prefix(), print_insn_crisv32_without_register_prefix(), disassemble_info::read_memory_func, RZ_ASM_SYNTAX_ATT, RZ_MIN, rz_strbuf_set(), disassemble_info::stream, symbol_at_address(), and disassemble_info::symbol_at_address_func.
|
static |
int print_insn_cris_with_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1557 of file cris-dis.c.
References cris_dis_v0_v10, cris_parse_disassembler_options(), info(), print_insn_cris_generic(), and TRUE.
Referenced by cris_get_disassembler(), and disassemble().
int print_insn_cris_without_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1594 of file cris-dis.c.
References cris_dis_v0_v10, cris_parse_disassembler_options(), FALSE, info(), and print_insn_cris_generic().
Referenced by cris_get_disassembler(), and disassemble().
int print_insn_crisv10_v32_with_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1582 of file cris-dis.c.
References cris_dis_common_v10_v32, cris_parse_disassembler_options(), info(), print_insn_cris_generic(), and TRUE.
Referenced by cris_get_disassembler(), and disassemble().
int print_insn_crisv10_v32_without_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1619 of file cris-dis.c.
References cris_dis_common_v10_v32, cris_parse_disassembler_options(), FALSE, info(), and print_insn_cris_generic().
Referenced by cris_get_disassembler(), and disassemble().
int print_insn_crisv32_with_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1569 of file cris-dis.c.
References cris_dis_v32, cris_parse_disassembler_options(), info(), print_insn_cris_generic(), and TRUE.
Referenced by cris_get_disassembler(), and disassemble().
int print_insn_crisv32_without_register_prefix | ( | bfd_vma | vma, |
disassemble_info * | info | ||
) |
Definition at line 1606 of file cris-dis.c.
References cris_dis_v32, cris_parse_disassembler_options(), FALSE, info(), and print_insn_cris_generic().
Referenced by cris_get_disassembler(), and disassemble().
|
static |
Definition at line 25 of file asm_cris_gnu.c.
Referenced by disassemble().
|
static |
Definition at line 26 of file asm_cris_gnu.c.
Referenced by cris_buffer_read_memory(), and disassemble().
Definition at line 24 of file asm_cris_gnu.c.
Referenced by cris_buffer_read_memory(), and disassemble().
RZ_API RzLibStruct rizin_plugin |
Definition at line 143 of file asm_cris_gnu.c.
RzAsmPlugin rz_asm_plugin_cris_gnu |
Definition at line 130 of file asm_cris_gnu.c.