Rizin
unix-like reverse engineering framework and cli tools
|
#include "sysdep.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include "xtensa-isa.h"
#include "ansidecl.h"
#include <setjmp.h>
#include "disas-asm.h"
#include "libiberty.h"
Go to the source code of this file.
Classes | |
struct | dis_private |
Macros | |
#define | MAX(a, b) (((a)) > ((b)) ? ((a)) : ((b))) |
#define | OPCODES_SIGJMP_BUF void* |
#define | OPCODES_SIGSETJMP(buf) nothing() |
#define | OPCODES_SIGLONGJMP(buf, val) nothing() |
Functions | |
static void | nothing (void) |
static int | fetch_data (struct disassemble_info *info, bfd_vma memaddr) |
static void | print_xtensa_operand (bfd_vma memaddr, struct disassemble_info *info, xtensa_opcode opc, int opnd, unsigned operand_val) |
int | print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info) |
Variables | |
xtensa_isa | xtensa_default_isa |
int | show_raw_fields |
#define OPCODES_SIGJMP_BUF void* |
Definition at line 48 of file xtensa-dis.c.
Definition at line 50 of file xtensa-dis.c.
Definition at line 49 of file xtensa-dis.c.
|
static |
Definition at line 68 of file xtensa-dis.c.
References dis_private::bailout, dis_private::byte_buf, info(), length, memset(), OPCODES_SIGLONGJMP, status, xtensa_default_isa, and xtensa_isa_maxlength().
Referenced by print_insn_xtensa().
|
static |
int print_insn_xtensa | ( | bfd_vma | memaddr, |
struct disassemble_info * | info | ||
) |
Definition at line 158 of file xtensa-dis.c.
References dis_private::bailout, dis_private::byte_buf, fetch_data(), i, info(), MAX, memset(), n, NULL, opc, OPCODES_SIGSETJMP, print_xtensa_operand(), xmalloc, xtensa_default_isa, xtensa_format_decode(), xtensa_format_get_slot(), xtensa_format_length(), xtensa_format_num_slots(), xtensa_insnbuf_alloc(), xtensa_insnbuf_from_chars(), xtensa_insnbuf_size(), xtensa_isa_init(), xtensa_isa_maxlength(), xtensa_opcode_decode(), xtensa_opcode_name(), xtensa_opcode_num_operands(), xtensa_operand_get_field(), xtensa_operand_is_visible(), and XTENSA_UNDEFINED.
Referenced by disassemble().
|
static |
Definition at line 95 of file xtensa-dis.c.
References i, info(), int, opc, show_raw_fields, xtensa_default_isa, xtensa_operand_decode(), xtensa_operand_is_PCrelative(), xtensa_operand_is_register(), xtensa_operand_num_regs(), xtensa_operand_regfile(), xtensa_operand_undo_reloc(), and xtensa_regfile_shortname().
Referenced by print_insn_xtensa().
int show_raw_fields |
Definition at line 58 of file xtensa-dis.c.
Referenced by print_xtensa_operand().
|
extern |
Definition at line 147 of file elf32-xtensa.c.
Referenced by fetch_data(), print_insn_xtensa(), and print_xtensa_operand().