Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
S_API int | spp_run (char *buf, Output *out) |
static char * | spp_run_str (char *buf, int *rv) |
void | lbuf_strcat (SppBuf *dst, char *src) |
int | do_fputs (Output *out, char *str) |
S_API void | spp_eval (char *buf, Output *out) |
S_API void | spp_proc_eval (SppProc *proc, char *buf, Output *out) |
S_API void | spp_io (FILE *in, Output *out) |
S_API int | spp_file (const char *file, Output *out) |
S_API void | spp_proc_list_kw () |
S_API void | spp_proc_list () |
S_API void | spp_proc_set (SppProc *p, const char *arg, int fail) |
void | out_printf (Output *out, char *str,...) |
static void | spp_proc_init (SppProc *p) |
S_API char * | spp_eval_str (SppProc *p, const char *code) |
Definition at line 88 of file spp.c.
References SppState::echo, i, SppState::ifl, out, proc, Proc::state, and cmd_descs_generate::str.
Referenced by spp_io(), and spp_proc_eval().
void lbuf_strcat | ( | SppBuf * | dst, |
char * | src | ||
) |
void out_printf | ( | Output * | out, |
char * | str, | ||
... | |||
) |
Definition at line 329 of file spp.c.
References out, rz_strbuf_append(), cmd_descs_generate::str, autogen_x86imm::tmp, and vsnprintf.
Definition at line 109 of file spp.c.
References out, proc, and spp_proc_eval().
Referenced by main(), rz_asm_rasm_assemble(), and spp_io().
Definition at line 352 of file spp.c.
References c, free(), NULL, out, p, rz_strbuf_drain(), rz_strbuf_init(), rz_strbuf_new(), spp_proc_eval(), spp_proc_init(), and strdup().
Definition at line 272 of file spp.c.
References D, benchmark::FILE, in, out, and spp_io().
Referenced by main(), and TAG_CALLBACK().
Definition at line 224 of file spp.c.
References Proc::buf, calloc(), D, do_fputs(), in, SppBuf::lbuf, SppBuf::lbuf_s, SppState::lineno, lines(), Proc::multiline, out, proc, spp_eval(), and Proc::state.
Referenced by main(), and spp_file().
Definition at line 113 of file spp.c.
References Proc::buf, D, delta, do_fputs(), free(), SppBuf::lbuf, SppBuf::lbuf_n, lbuf_strcat(), NULL, out, p, printf(), proc, s, spp_run(), spp_run_str(), strdup(), Proc::tag_begin, Proc::tag_post, Proc::tag_pre, and Proc::token.
Referenced by spp_eval(), and spp_eval_str().
|
static |
S_API void spp_proc_list | ( | void | ) |
S_API void spp_proc_list_kw | ( | void | ) |
Definition at line 298 of file spp.c.
References D, Proc::default_echo, SppState::echo, fail, found, i, SppState::ifl, SppState::lineno, MAXIFL, Proc::name, p, printf(), proc, procs, Proc::state, make_dist_html::tags, and Proc::tags.
Referenced by main(), and rz_asm_rasm_assemble().
Definition at line 11 of file spp.c.
References buflen, Proc::chop, D, i, SppState::ifl, IS_SPACE, MAXIFL, out, proc, Proc::state, make_dist_html::tags, and Proc::token.
Referenced by spp_proc_eval(), and spp_run_str().
|
static |
Definition at line 59 of file spp.c.
References b, NULL, rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), spp_run(), strdup(), and autogen_x86imm::tmp.
Referenced by spp_proc_eval().