7 #include "../core_private.h"
13 }
else if (argc == 2) {
44 const char *script_file =
argv[1];
45 if (*script_file ==
'$') {
49 eprintf(
"Cannot find script '%s'\n", script_file);
RZ_API char * rz_core_cmd_str_pipe(RzCore *core, const char *cmd)
RZ_API int rz_core_cmd0(RzCore *core, const char *cmd)
RZ_API int rz_core_cmd(RzCore *core, const char *cstr, int log)
RZ_API bool rz_core_run_script(RzCore *core, RZ_NONNULL const char *file)
RZ_IPI bool rz_core_cmd_lastcmd_repeat(RzCore *core, bool next)
RZ_API char * rz_core_cmd_str(RzCore *core, const char *cmd)
Executes a rizin command and returns the stdout as a string.
RZ_API int rz_cmd_macro_call_multiple(RzCmdMacro *mac, const char *name)
RZ_API int rz_cmd_macro_call(RzCmdMacro *mac, const char *name)
RZ_IPI RzCmdStatus rz_interpret_macro_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_editor_2_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_repeat_forward_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_macro_multiple_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_output_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_script_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_interpret_pipe_handler(RzCore *core, int argc, const char **argv)
RZ_API RzCons * rz_cons_singleton(void)
RZ_API void Ht_() free(HtName_(Ht) *ht)
static static fork const void static count static fd const char const char static newpath char char argv
enum rz_cmd_status_t RzCmdStatus
@ RZ_CMD_STATUS_OK
command handler exited in the right way
@ RZ_CMD_STATUS_ERROR
command handler had issues while running (e.g. allocation error, etc.)