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 * | arm_tokenize (const char *assembly, size_t length) |
static bool | parse (RzParse *p, const char *assembly, RzStrBuf *sb) |
static char * | subs_var_string (RzParse *p, RzAnalysisVarField *var, char *tstr, const char *oldstr, const char *reg, int delta) |
static char * | mount_oldstr (RzParse *p, const char *reg, st64 delta, bool ucase) |
static bool | subvar (RzParse *p, RzAnalysisFunction *f, RzAnalysisOp *op, char *data, char *str, int len) |
Variables | |
static const RzPseudoGrammar | arm_lexicon [] |
static const RzPseudoDirect | arm_direct [] |
static const RzPseudoReplace | arm_replace [] |
static const RzPseudoConfig | arm_config = RZ_PSEUDO_DEFINE_CONFIG(arm_direct, arm_lexicon, arm_replace, 5, arm_tokenize) |
RzParsePlugin | rz_parse_plugin_arm_pseudo |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 136 of file parse_arm_pseudo.c.
References rz_list_iter_t::data, free(), i, length, NULL, p, rz_str_ndup(), rz_str_replace(), and rz_str_split_duplist().
Definition at line 225 of file parse_arm_pseudo.c.
References comma, delta, p, PFMT64d, reg, RZ_ABS, rz_str_case(), and rz_str_newf().
Referenced by subvar().
Definition at line 204 of file parse_arm_pseudo.c.
References arm_config, rz_pseudo_convert(), and sb.
|
static |
Definition at line 208 of file parse_arm_pseudo.c.
References delta, free(), IS_UPPER, newstr(), p, reg, rz_str_case(), rz_str_newf(), and rz_str_replace().
Referenced by subvar().
|
static |
Definition at line 256 of file parse_arm_pseudo.c.
References addr, delta, f, free(), IS_UPPER, len, mount_oldstr(), rz_reg_t::name, neg(), NULL, off, p, PFMT64x, reg, rz_analysis_t::reg, rip(), rz_is_valid_input_num_value(), rz_list_free(), rz_num_get(), RZ_REG_NAME_BP, RZ_REG_NAME_SP, rz_str_casestr(), rz_str_newf(), rz_str_trim_head_ro(), st64, ST64_MAX, cmd_descs_generate::str, strdup(), subs_var_string(), and ut64().
Referenced by sh_il_negc().
|
static |
Definition at line 134 of file parse_arm_pseudo.c.
Referenced by parse().
|
static |
Definition at line 121 of file parse_arm_pseudo.c.
|
static |
Definition at line 18 of file parse_arm_pseudo.c.
|
static |
Definition at line 126 of file parse_arm_pseudo.c.
RZ_API RzLibStruct rizin_plugin |
Definition at line 383 of file parse_arm_pseudo.c.
RzParsePlugin rz_parse_plugin_arm_pseudo |
Definition at line 375 of file parse_arm_pseudo.c.