Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | I rz_cons_singleton() |
#define | RETURN(x) |
Functions | |
RZ_API int | rz_cons_controlz (int ch) |
static int | __parseMouseEvent (void) |
RZ_API int | rz_cons_arrow_to_hjkl (int ch) |
RZ_API int | rz_cons_fgets (char *buf, int len, int argc, const char **argv) |
RZ_API int | rz_cons_any_key (const char *msg) |
void | resizeWin (void) |
RZ_API int | rz_cons_readchar_timeout (ut32 usec) |
RZ_API bool | rz_cons_readpush (const char *str, int len) |
RZ_API void | rz_cons_readflush (void) |
RZ_API void | rz_cons_switchbuf (bool active) |
RZ_API bool | rz_cons_readbuffer_readchar (char *ch) |
RZ_API int | rz_cons_readchar (void) |
RZ_API bool | rz_cons_yesno (int def, const char *fmt,...) |
RZ_API char * | rz_cons_input (const char *msg) |
Variables | |
volatile sig_atomic_t | sigwinchFlag |
#define I rz_cons_singleton() |
#define RETURN | ( | x | ) |
|
static |
Definition at line 30 of file input.c.
References i, rz_cons_readchar(), and rz_cons_set_click().
Referenced by rz_cons_arrow_to_hjkl().
void resizeWin | ( | void | ) |
Definition at line 393 of file input.c.
References msg, rz_cons_flush(), rz_cons_printf(), and rz_cons_readchar().
Referenced by rtr_visual(), rz_cmd_help(), rz_cons_message(), rz_core_visual_analysis(), rz_core_visual_analysis_classes(), rz_core_visual_asm(), rz_core_visual_bit_editor(), rz_core_visual_classes(), rz_core_visual_cmd(), rz_core_visual_comments(), rz_core_visual_config(), rz_core_visual_debugtraces(), rz_core_visual_debugtraces_help(), rz_core_visual_define(), rz_core_visual_esil(), rz_core_visual_graph(), rz_core_visual_trackflags(), rz_core_visual_view_graph(), rz_core_visual_view_rop(), rz_core_visual_xrefs(), and visual_search().
Definition at line 78 of file input.c.
References __parseMouseEvent(), I, INT8_MAX, p, pos, RZ_CONS_KEY_F1, RZ_CONS_KEY_F10, RZ_CONS_KEY_F11, RZ_CONS_KEY_F12, RZ_CONS_KEY_F2, RZ_CONS_KEY_F3, RZ_CONS_KEY_F4, RZ_CONS_KEY_F5, RZ_CONS_KEY_F6, RZ_CONS_KEY_F7, RZ_CONS_KEY_F8, RZ_CONS_KEY_F9, rz_cons_readchar(), rz_cons_set_click(), RZ_VIRT_TERM_MODE_COMPLETE, sc, ut8, UT8_MAX, and x.
Referenced by __create_almighty(), __move_panel_to_dir(), __panels_process(), __vi_mode(), insert_mode_enabled(), rz_cons_less_str(), rz_core_visual_analysis(), rz_core_visual_analysis_classes(), rz_core_visual_bit_editor(), rz_core_visual_browse(), rz_core_visual_classes(), rz_core_visual_cmd(), rz_core_visual_colors(), rz_core_visual_comments(), rz_core_visual_config(), rz_core_visual_debugtraces(), rz_core_visual_define(), rz_core_visual_esil(), rz_core_visual_graph(), rz_core_visual_trackflags(), rz_core_visual_view_graph(), rz_core_visual_view_rop(), rz_core_visual_xrefs(), and rz_diff_hex_visual().
Definition at line 14 of file input.c.
References rz_cons_enable_mouse(), rz_cons_show_cursor(), and rz_sys_stop().
Referenced by rz_cons_readchar(), and rz_line_readchar_utf8().
Definition at line 339 of file input.c.
References color, Color_RESET, rz_cons_t::context, rz_cons_t::echo, rz_cons_t::fdin, rz_cons_printable_palette_t::input, len, rz_cons_t::line, p, rz_cons_context_t::pal, printf(), rz_line_t::prompt, RETURN, rz_cons_enable_mouse(), rz_cons_flush(), rz_cons_set_raw(), rz_cons_show_cursor(), rz_cons_singleton(), RZ_STR_ISNOTEMPTY, rz_str_trim_tail(), rz_cons_t::user_fgets, and rz_cons_t::user_fgets_user.
Referenced by __handleComment(), __panel_prompt(), __prompt(), add_comment(), config_visual_hit(), handleHints(), prompt(), prompt_read(), rtr_visual(), rz_cmd_help(), rz_cmd_kuery(), rz_cons_input(), rz_core_prompt(), rz_core_visual_analysis(), rz_core_visual_analysis_classes(), rz_core_visual_bit_editor(), rz_core_visual_classes(), rz_core_visual_cmd(), rz_core_visual_colors(), rz_core_visual_config_hud(), rz_core_visual_define(), rz_core_visual_esil(), rz_core_visual_graph(), rz_core_visual_offset(), rz_core_visual_prompt(), rz_core_visual_trackflags(), rz_core_visual_view_graph(), rz_core_visual_view_rop(), visual_offset(), visual_prompt(), and visual_search().
Definition at line 696 of file input.c.
References free(), msg, NULL, rz_cons_fgets(), rz_line_get_prompt(), rz_line_set_prompt(), and strdup().
Referenced by __show_status_input(), agraph_follow_innodes(), rz_core_visual_define(), and visual_comma().
Definition at line 609 of file input.c.
References I.
Referenced by rz_cons_readchar(), and rz_cons_readchar_timeout().
Definition at line 619 of file input.c.
References EBADF, eprintf, FD_SET, FD_ZERO, I, NULL, read(), readfds, resizeWin(), rz_cons_controlz(), rz_cons_readbuffer_readchar(), rz_cons_set_raw(), rz_cons_sleep_begin(), rz_cons_sleep_end(), SIGWINCH, sigwinchFlag, and STDIN_FILENO.
Referenced by __create_almighty(), __handle_tab(), __handle_visual_mark(), __panels_process(), __parseMouseEvent(), __show_status(), __vi_mode(), agraph_follow_innodes(), goto_asmqjmps(), insert_mode_enabled(), rtr_visual(), rz_cons_any_key(), rz_cons_arrow_to_hjkl(), rz_cons_less_str(), rz_cons_readchar_timeout(), rz_core_visual(), rz_core_visual_analysis(), rz_core_visual_analysis_classes(), rz_core_visual_bit_editor(), rz_core_visual_browse(), rz_core_visual_classes(), rz_core_visual_cmd(), rz_core_visual_colors(), rz_core_visual_comments(), rz_core_visual_config(), rz_core_visual_debugtraces(), rz_core_visual_define(), rz_core_visual_esil(), rz_core_visual_graph(), rz_core_visual_trackflags(), rz_core_visual_view_graph(), rz_core_visual_view_rop(), rz_core_visual_xrefs(), rz_diff_hex_visual(), rz_line_readchar_utf8(), rz_line_readline_cb(), and visual_help().
Definition at line 560 of file input.c.
References FD_SET, FD_ZERO, NULL, rz_cons_readbuffer_readchar(), rz_cons_readchar(), rz_cons_set_raw(), select, and tv.
Referenced by rz_line_readline_cb().
RZ_API void rz_cons_readflush | ( | void | ) |
Definition at line 601 of file input.c.
References I.
Referenced by __handle_console(), __handle_menu(), __handle_tab_key(), __handle_window_mode(), __handle_zoom_mode(), and __panels_process().
Definition at line 666 of file input.c.
References def(), key, read(), rz_cons_is_interactive(), rz_cons_set_raw(), ut8, and write.
Referenced by __show_status_yesno(), agraph_refresh(), check_function_modified(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), rz_cmd_help(), rz_cons_flush(), rz_core_cmd_subst(), rz_core_visual_asm(), rz_core_visual_graph(), rz_main_rizin(), rz_w32_identify_window(), and w32_list_heaps_blocks().
|
extern |
Referenced by rz_cons_readchar().