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.
Macros | |
#define | INSN_BUFFER_SIZE 4 |
Functions | |
static int | xtensa_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, RzAsmOp *op, const ut8 *buf, int len) |
Variables | |
static ut64 | offset = 0 |
static RzStrBuf * | buf_global = NULL |
static ut8 | bytes [INSN_BUFFER_SIZE] |
RzAsmPlugin | rz_asm_plugin_xtensa |
RZ_API RzLibStruct | rizin_plugin |
#define INSN_BUFFER_SIZE 4 |
Definition at line 15 of file asm_xtensa.c.
Definition at line 40 of file asm_xtensa.c.
References a, buf_global, disassemble_info::buffer, disassemble_info::buffer_length, bytes, disassemble_info::disassembler_options, disassemble_info::endian, disassemble_info::fprintf_func, INSN_BUFFER_SIZE, len, memcpy(), memory_error_func(), disassemble_info::memory_error_func, memset(), disassemble_info::print_address_func, print_insn_xtensa(), disassemble_info::read_memory_func, rz_asm_op_set_asm(), disassemble_info::stream, symbol_at_address(), disassemble_info::symbol_at_address_func, and xtensa_buffer_read_memory().
|
static |
|
static |
|
static |
Definition at line 21 of file asm_xtensa.c.
References bytes, INSN_BUFFER_SIZE, length, and memcpy().
Referenced by disassemble().
Definition at line 18 of file asm_xtensa.c.
Referenced by disassemble().
|
static |
Definition at line 19 of file asm_xtensa.c.
Referenced by disassemble(), and xtensa_buffer_read_memory().
Definition at line 17 of file asm_xtensa.c.
RZ_API RzLibStruct rizin_plugin |
Definition at line 80 of file asm_xtensa.c.
RzAsmPlugin rz_asm_plugin_xtensa |
Definition at line 69 of file asm_xtensa.c.