Rizin
unix-like reverse engineering framework and cli tools
|
#include "rz_core.h"
Go to the source code of this file.
Macros | |
#define | RZ_QUIT_VALUE_KILL 5 |
#define | RZ_QUIT_VALUE_NOKILL 1 |
#define | RZ_QUIT_VALUE_SAVE 10 |
#define | RZ_QUIT_VALUE_NOSAVE 2 |
Functions | |
RZ_IPI RzCmdStatus | rz_cmd_quit_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_quit_kill_save_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_quit_kill_nosave_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_quit_nokill_nosave_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_quit_nokill_save_handler (RzCore *core, int argc, const char **argv) |
static int | cmd_Quit (void *data, const char *input) |
RZ_IPI RzCmdStatus | rz_cmd_force_quit_handler (RzCore *core, int argc, const char **argv) |
RZ_IPI RzCmdStatus | rz_cmd_force_quit_without_history_handler (RzCore *core, int argc, const char **argv) |
#define RZ_QUIT_VALUE_KILL 5 |
Definition at line 6 of file cmd_quit.c.
#define RZ_QUIT_VALUE_NOKILL 1 |
Definition at line 7 of file cmd_quit.c.
#define RZ_QUIT_VALUE_NOSAVE 2 |
Definition at line 9 of file cmd_quit.c.
#define RZ_QUIT_VALUE_SAVE 10 |
Definition at line 8 of file cmd_quit.c.
Definition at line 37 of file cmd_quit.c.
References rz_core_t::config, test-lz4-list::exit, input(), IS_DIGIT, rz_core_t::num, rz_config_set(), rz_num_math(), and rz_num_t::value.
Referenced by rz_cmd_force_quit_handler(), and rz_cmd_force_quit_without_history_handler().
RZ_IPI RzCmdStatus rz_cmd_force_quit_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 54 of file cmd_quit.c.
References argv, cmd_Quit(), and RZ_CMD_STATUS_EXIT.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_force_quit_without_history_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 59 of file cmd_quit.c.
References argv, cmd_Quit(), and RZ_CMD_STATUS_EXIT.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_cmd_quit_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 11 of file cmd_quit.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_quit_kill_nosave_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 21 of file cmd_quit.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, RZ_QUIT_VALUE_KILL, RZ_QUIT_VALUE_NOSAVE, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_quit_kill_save_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 16 of file cmd_quit.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, RZ_QUIT_VALUE_KILL, RZ_QUIT_VALUE_SAVE, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_quit_nokill_nosave_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 26 of file cmd_quit.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, RZ_QUIT_VALUE_NOKILL, RZ_QUIT_VALUE_NOSAVE, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().
RZ_IPI RzCmdStatus rz_quit_nokill_save_handler | ( | RzCore * | core, |
int | argc, | ||
const char ** | argv | ||
) |
Definition at line 31 of file cmd_quit.c.
References rz_core_t::num, RZ_CMD_STATUS_EXIT, RZ_QUIT_VALUE_NOKILL, RZ_QUIT_VALUE_SAVE, and rz_num_t::value.
Referenced by rzshell_cmddescs_init().