Rizin
unix-like reverse engineering framework and cli tools
|
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "ansidecl.h"
#include "opcode/lanai.h"
#include "disas-asm.h"
Go to the source code of this file.
Macros | |
#define | reg(n) (*info->fprintf_func) (stream, "%s", reg_names[n]) |
Functions | |
static int | is_delayed_branch (unsigned long insn) |
static int | compare_opcodes (char *a, char *b) |
int | print_insn_lanai (bfd_vma memaddr, disassemble_info *info) |
Variables | |
static char * | reg_names [] |
static char * | op_names [] |
static int | opcodes_sorted = 0 |
|
static |
Definition at line 403 of file lanai-dis.c.
References a, lanai_opcode::args, b, F_ALIAS, lanai_opcode::flags, i, lanai_opcode::lose, lanai_opcode::match, lanai_opcode::name, x, x0, and x1.
Referenced by print_insn_lanai().
Definition at line 79 of file lanai-dis.c.
References CONST, F_BR, lanai_opcode::flags, i, lanai_opcodes, lanai_opcode::lose, lanai_opcode::match, and NUMOPCODES.
Referenced by print_insn_lanai().
int print_insn_lanai | ( | bfd_vma | memaddr, |
disassemble_info * | info | ||
) |
Definition at line 106 of file lanai-dis.c.
References lanai_opcode::args, bfd_getb32(), compare_opcodes(), CONST, dis_branch, dis_condbranch, dis_dref, dis_jsr, dis_nonbranch, dis_noninsn, F_BR, F_CONDBR, F_DATA_SIZE, F_JSR, F_UNBR, benchmark::FILE, lanai_opcode::flags, i, imm, info(), is_delayed_branch(), L3_RI_H, L3_RRR_F, lanai_opcodes, lanai_opcode::lose, lanai_opcode::match, lanai_opcode::name, NUMOPCODES, op_names, opcodes_sorted, qsort(), reg, s, SIGN_EXT, status, X_C10, X_C16, X_C21, X_C25, X_OP1, X_OP2, X_RD, X_RS1, X_RS2, and X_RS3.
Referenced by disassemble().
|
static |
Definition at line 72 of file lanai-dis.c.
Referenced by print_insn_lanai().
|
static |
Definition at line 94 of file lanai-dis.c.
Referenced by print_insn_lanai().
|
static |
Definition at line 65 of file lanai-dis.c.