Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <rz_lib.h>
#include <rz_util.h>
#include <rz_flag.h>
#include <rz_analysis.h>
#include <rz_parse.h>
#include "parse_common.c"
Go to the source code of this file.
Functions | |
static RzList * | mips_tokenize (const char *assembly, size_t length) |
static bool | parse (RzParse *parse, const char *assembly, RzStrBuf *sb) |
static bool | subvar (RzParse *p, RzAnalysisFunction *f, RzAnalysisOp *op, char *data, char *str, int len) |
Variables | |
static const RzPseudoGrammar | mips_lexicon [] |
static const RzPseudoDirect | mips_direct [] |
static const RzPseudoReplace | mips_replace [] |
static const RzPseudoConfig | mips_config = RZ_PSEUDO_DEFINE_CONFIG(mips_direct, mips_lexicon, mips_replace, 4, mips_tokenize) |
RzParsePlugin | rz_parse_plugin_mips_pseudo |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 95 of file parse_mips_pseudo.c.
References free(), i, IS_HEXCHAR, length, NULL, p, rz_list_insert(), rz_list_length(), rz_str_ndup(), rz_str_split_duplist(), and strdup().
Definition at line 140 of file parse_mips_pseudo.c.
References mips_config, rz_pseudo_convert(), and sb.
|
static |
Definition at line 144 of file parse_mips_pseudo.c.
References addr, comma, delta, f, free(), IS_UPPER, len, rz_reg_t::name, newstr(), NULL, p, reg, rz_analysis_t::reg, RZ_ABS, rz_list_free(), RZ_REG_NAME_BP, RZ_REG_NAME_SP, rz_str_case(), rz_str_newf(), rz_str_replace(), st64, ST64_MAX, cmd_descs_generate::str, strdup(), and ut64().
|
static |
Definition at line 93 of file parse_mips_pseudo.c.
Referenced by parse().
|
static |
Definition at line 83 of file parse_mips_pseudo.c.
|
static |
Definition at line 19 of file parse_mips_pseudo.c.
|
static |
Definition at line 87 of file parse_mips_pseudo.c.
RZ_API RzLibStruct rizin_plugin |
Definition at line 271 of file parse_mips_pseudo.c.
RzParsePlugin rz_parse_plugin_mips_pseudo |
Definition at line 261 of file parse_mips_pseudo.c.