Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_LIB_VERSION (rz_parse) | |
RZ_API RzParse * | rz_parse_new (void) |
RZ_API void | rz_parse_free (RzParse *p) |
RZ_API bool | rz_parse_add (RzParse *p, RzParsePlugin *foo) |
RZ_API bool | rz_parse_use (RzParse *p, const char *name) |
RZ_API bool | rz_parse_assemble (RzParse *p, char *data, char *str) |
RZ_API char * | rz_parse_pseudocode (RzParse *p, const char *assembly) |
Converts the assembly line into pseudocode. More... | |
RZ_API char * | rz_parse_immtrim (char *opstr) |
RZ_API bool | rz_parse_subvar (RzParse *p, RZ_NULLABLE RzAnalysisFunction *f, RZ_NONNULL RzAnalysisOp *op, RZ_NONNULL RZ_IN char *data, RZ_BORROW RZ_NONNULL RZ_OUT char *str, int len) |
RZ_API void | rz_parse_set_user_ptr (RzParse *p, void *user) |
Variables | |
static RzParsePlugin * | parse_static_plugins [] = { RZ_PARSE_STATIC_PLUGINS } |
RZ_LIB_VERSION | ( | rz_parse | ) |
RZ_API bool rz_parse_add | ( | RzParse * | p, |
RzParsePlugin * | foo | ||
) |
Definition at line 45 of file parse.c.
References foo, p, and rz_list_append().
Referenced by rz_parse_new().
Definition at line 72 of file parse.c.
References free(), in, p, s, cmd_descs_generate::str, and strdup().
Definition at line 40 of file parse.c.
References free(), p, and rz_list_free().
Referenced by rz_asm_sub_names_input(), rz_asm_sub_names_output(), rz_core_fini(), and rz_parse_new().
RZ_API char* rz_parse_immtrim | ( | char * | opstr | ) |
Definition at line 127 of file parse.c.
References IS_HEXCHAR, n, NULL, opstr(), p, and rz_str_replace().
Referenced by ds_build_op_str(), rz_core_disasm_pdi_with_buf(), and rz_core_print_disasm_instructions_with_buf().
Definition at line 16 of file parse.c.
References i, NULL, p, parse_static_plugins, RZ_ARRAY_SIZE, rz_list_newf(), RZ_NEW0, rz_parse_add(), and rz_parse_free().
Referenced by rz_asm_sub_names_input(), rz_asm_sub_names_output(), and rz_core_init().
Converts the assembly line into pseudocode.
Converts the assembly line into pseudocode
Definition at line 107 of file parse.c.
References NULL, p, rz_return_val_if_fail, RZ_STR_ISEMPTY, rz_strbuf_drain(), rz_strbuf_free(), rz_strbuf_new(), rz_strbuf_reserve(), and sb.
Referenced by ds_build_op_str(), ds_disassemble(), parseHeap(), rz_asm_assemble(), rz_asm_mdisassemble_hexstr(), and rz_core_analysis_bytes().
RZ_API bool rz_parse_subvar | ( | RzParse * | p, |
RZ_NULLABLE RzAnalysisFunction * | f, | ||
RZ_NONNULL RzAnalysisOp * | op, | ||
RZ_NONNULL RZ_IN char * | data, | ||
RZ_BORROW RZ_NONNULL RZ_OUT char * | str, | ||
int | len | ||
) |
Definition at line 166 of file parse.c.
References f, len, p, rz_return_val_if_fail, and cmd_descs_generate::str.
Referenced by ds_build_op_str(), rz_core_analysis_bytes(), and rz_core_disasm_instruction().
Definition at line 56 of file parse.c.
References h, NULL, p, and rz_return_val_if_fail.
Referenced by cb_asmparser(), rz_asm_sub_names_input(), and rz_asm_sub_names_output().
|
static |
Definition at line 14 of file parse.c.
Referenced by rz_parse_new().