Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_core.h>
Go to the source code of this file.
RZ_IPI RzCmdStatus rz_cmd_shell_cat_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 149 of file cmd_shell.c.
References argv, free(), path, rz_core_t::rcmd, rz_cmd_alias_get(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_printf(), RZ_LOG_ERROR, and rz_syscmd_cat().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_cd_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 112 of file cmd_shell.c.
References argv, test-lz4-speed::cwd, free(), NULL, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, RZ_LOG_ERROR, rz_sys_chdir(), and rz_sys_getdir().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_clear_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 214 of file cmd_shell.c.
References RZ_CMD_STATUS_OK, and rz_cons_clear00().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_cp_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 103 of file cmd_shell.c.
References argv, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_file_copy(), and RZ_LOG_ERROR.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_echo_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 92 of file cmd_shell.c.
References argv, free(), output, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_println(), and rz_str_array_join().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_env_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 7 of file cmd_shell.c.
References argv, e, free(), p, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, RZ_CMD_STATUS_WRONG_ARGS, rz_cons_println(), RZ_STR_ISEMPTY, rz_sys_get_environ(), rz_sys_getenv(), and rz_sys_setenv().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_exit_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 34 of file cmd_shell.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_fortune_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 232 of file cmd_shell.c.
References RZ_CMD_STATUS_OK, and rz_core_fortune_print_random().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_ls_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 40 of file cmd_shell.c.
References argv, free(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_str_array_join(), and rz_syscmd_ls().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_mkdir_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 177 of file cmd_shell.c.
References argv, free(), i, input(), NULL, RZ_CMD_STATUS_OK, rz_strbuf_appendf(), rz_strbuf_drain(), rz_strbuf_new(), and rz_syscmd_mkdir().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_mv_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 169 of file cmd_shell.c.
References argv, free(), input(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_str_newf(), and rz_sys_system().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_pwd_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 193 of file cmd_shell.c.
References test-lz4-speed::cwd, free(), RZ_CMD_STATUS_OK, rz_cons_println(), and rz_sys_getdir().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_rm_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 53 of file cmd_shell.c.
References argv, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, and rz_file_rm().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_sleep_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 58 of file cmd_shell.c.
References argv, RZ_CMD_STATUS_OK, rz_cons_sleep_begin(), rz_cons_sleep_end(), and rz_sys_sleep().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_sort_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 203 of file cmd_shell.c.
References argv, free(), RZ_CMD_STATUS_OK, and rz_syscmd_sort().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_uname_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 77 of file cmd_shell.c.
References argv, RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_newline(), rz_cons_printf(), rz_sys_info(), rz_sys_info_free(), and si.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_uniq_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 66 of file cmd_shell.c.
References argv, free(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, and rz_syscmd_uniq().
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_shell_which_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 220 of file cmd_shell.c.
References argv, free(), RZ_CMD_STATUS_ERROR, RZ_CMD_STATUS_OK, rz_cons_println(), rz_file_path(), and RZ_LOG_ERROR.
Referenced by rzshell_cmddescs_init().