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_analysis.h>
#include <rz_parse.h>
Go to the source code of this file.
Macros | |
#define | MAXPSEUDOOPS 10 |
Functions | |
static int | replace (int argc, char *argv[], char *newstr) |
static bool | parse (RzParse *p, const char *data, RzStrBuf *sb) |
static void | parse_localvar (RzParse *p, char *newstr, size_t newstr_len, const char *var, const char *reg, char sign, const char *ireg, bool att) |
static void | mk_reg_str (const char *regname, int delta, bool sign, bool att, const char *ireg, char *dest, int len) |
static bool | subvar (RzParse *p, RzAnalysisFunction *f, RzAnalysisOp *op, char *data, char *str, int len) |
Variables | |
RzParsePlugin | rz_parse_plugin_x86_pseudo |
RZ_API RzLibStruct | rizin_plugin |
#define MAXPSEUDOOPS 10 |
|
inlinestatic |
Definition at line 321 of file parse_x86_pseudo.c.
References delta, dest, len, regname(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_strbuf_setf(), sb, and snprintf.
Referenced by subvar().
Definition at line 169 of file parse_x86_pseudo.c.
References test_evm::end, free(), i, len, malloc(), p, replace(), RZ_FREE, rz_snprintf(), rz_str_ncpy(), rz_str_replace_char(), rz_strbuf_set(), sb, cmd_descs_generate::str, strdup(), w0, w1, w2, and w3.
|
static |
Definition at line 294 of file parse_x86_pseudo.c.
References newstr(), p, reg, rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_strbuf_setf(), sb, and snprintf.
Referenced by subvar().
Definition at line 17 of file parse_x86_pseudo.c.
References args, argv, d, i, setup::idx, k, MAXPSEUDOOPS, newstr(), NULL, op, ops, cmd_descs_generate::str, and w.
Referenced by parse().
|
static |
Definition at line 349 of file parse_x86_pseudo.c.
References addr, delta, test_evm::end, f, free(), isupper, len, mk_reg_str(), n, rz_reg_t::name, neg(), newstr(), NULL, p, parse_localvar(), PFMT64x, pos, reg, rz_analysis_t::reg, rip(), rz_list_free(), rz_num_get(), rz_num_math(), RZ_REG_NAME_BP, RZ_REG_NAME_SP, rz_str_case(), rz_str_casestr(), rz_str_newf(), rz_str_replace(), rz_str_replace_icase(), snprintf, st64, ST64_MAX, cmd_descs_generate::str, strdup(), and ut64().
RZ_API RzLibStruct rizin_plugin |
Definition at line 568 of file parse_x86_pseudo.c.
RzParsePlugin rz_parse_plugin_x86_pseudo |
Definition at line 560 of file parse_x86_pseudo.c.