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 | |
int | print_insn_big_nios2 (bfd_vma address, disassemble_info *info) |
int | print_insn_little_nios2 (bfd_vma address, disassemble_info *info) |
static int | nios2_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) |
static int | disassemble (RzAsm *a, struct rz_asm_op_t *op, const ut8 *buf, int len) |
Variables | |
static unsigned long | Offset = 0 |
static RzStrBuf * | buf_global = NULL |
static unsigned char | bytes [4] |
RzAsmPlugin | rz_asm_plugin_nios2 |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 37 of file asm_nios2.c.
References a, BFD_ENDIAN_BIG, buf_global, disassemble_info::buffer, bytes, disassemble_info::disassembler_options, disassemble_info::endian, disassemble_info::fprintf_func, len, memcpy(), memory_error_func(), disassemble_info::memory_error_func, memset(), nios2_buffer_read_memory(), Offset, disassemble_info::print_address_func, print_insn_big_nios2(), print_insn_little_nios2(), disassemble_info::read_memory_func, rz_asm_op_set_asm(), disassemble_info::stream, symbol_at_address(), and disassemble_info::symbol_at_address_func.
|
static |
|
static |
Definition at line 21 of file asm_nios2.c.
References bytes, length, and memcpy().
Referenced by disassemble().
int print_insn_big_nios2 | ( | bfd_vma | address, |
disassemble_info * | info | ||
) |
Definition at line 422 of file nios2-dis.c.
Referenced by disassemble().
int print_insn_little_nios2 | ( | bfd_vma | address, |
disassemble_info * | info | ||
) |
|
static |
Definition at line 18 of file asm_nios2.c.
Referenced by disassemble().
|
static |
Definition at line 19 of file asm_nios2.c.
Referenced by disassemble(), and nios2_buffer_read_memory().
Definition at line 17 of file asm_nios2.c.
Referenced by disassemble().
RZ_API RzLibStruct rizin_plugin |
Definition at line 80 of file asm_nios2.c.
RzAsmPlugin rz_asm_plugin_nios2 |
Definition at line 69 of file asm_nios2.c.