Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Enumerations | |
enum | Direction { LEFT , RIGHT , UP , DOWN } |
Variables | |
static bool | firstRun = true |
static const char * | panels_dynamic [] |
static const char * | panels_static [] |
static const char * | menus [] |
static const char * | menus_File [] |
static const char * | menus_Settings [] |
static const char * | menus_ReOpen [] |
static const char * | menus_loadLayout [] |
static const char * | menus_Edit [] |
static const char * | menus_iocache [] |
static char * | menus_View [] |
static const char * | menus_Tools [] |
static const char * | menus_Search [] |
static const char * | menus_Emulate [] |
static char * | menus_Debug [] |
static const char * | menus_Analyze [] |
static char * | menus_Colors [128] |
static char * | menus_settings_disassembly [] |
static char * | menus_settings_disassembly_asm [] |
static const char * | menus_settings_screen [] |
static const char * | menus_Help [] |
static const char * | entropy_rotate [] |
static char * | hexdump_rotate [] |
static const char * | register_rotate [] |
static const char * | function_rotate [] |
static const char * | cache_white_list_cmds [] |
static const char * | help_msg_panels [] |
static const char * | help_msg_panels_window [] |
static const char * | help_msg_panels_zoom [] |
static bool | fromVisual = false |
#define TOkENs ":=*+-/()[,] " |
|
static |
Definition at line 1391 of file panels.c.
References __get_cur_panel(), __is_abnormal_cursor_type(), __is_normal_cursor_type(), __reset_scroll_pos(), __set_cmd_str_cache(), __set_cursor(), __show_status(), __show_status_yesno(), rz_panel_model_t::cache, rz_print_t::cur_enabled, rz_panel_t::model, NULL, rz_core_t::panels, rz_core_t::print, rz_panel_view_t::refresh, and rz_panel_t::view.
Referenced by __panels_process().
|
static |
Definition at line 1254 of file panels.c.
References __adjust_side_panels(), __check_panel_num(), __get_panel(), __insert_panel(), __search_db(), __set_curnode(), __set_geometry(), __set_mode(), cmd, rz_panels_menu_t::depth, free(), h, rz_panels_menu_t::history, rz_panels_menu_item::name, PANEL_CONFIG_SIDEPANEL_W, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::pos, rz_cons_get_size(), rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, and rz_panel_t::view.
Referenced by __init_panels_menu().
Definition at line 1303 of file panels.c.
References __adjust_side_panels(), __check_panel_num(), __get_panel(), __insert_panel(), __load_cmdf(), __set_cmd_str_cache(), __set_curnode(), __set_geometry(), __set_mode(), rz_panels_menu_t::depth, h, rz_panels_menu_t::history, input(), rz_panels_menu_item::name, PANEL_CONFIG_SIDEPANEL_W, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::pos, rz_cons_get_size(), rz_panels_menu_item::selectedIndex, cmd_descs_generate::str, rz_panels_menu_item::sub, and rz_panel_t::view.
Referenced by __code_cb(), __copy_cb(), __fill_cb(), __hexpairs_cb(), __open_file_cb(), __rop_cb(), __string_data_sec_cb(), __string_whole_bin_cb(), __write_hex_cb(), and __write_str_cb().
|
static |
Definition at line 1279 of file panels.c.
References __adjust_side_panels(), __get_panel(), __insert_panel(), __set_curnode(), __set_geometry(), h, cmd_descs_generate::help, PANEL_CONFIG_SIDEPANEL_W, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), and rz_panel_t::view.
Referenced by __toggle_help().
|
static |
Definition at line 4093 of file panels.c.
References __free_menu_item(), addr, cb, rz_panels_menu_item::cb, rz_panels_t::mht, rz_panel_t::model, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, NULL, rz_panels_menu_item::p, rz_core_t::panels, rz_panels_t::panels_menu, realloc(), rz_panels_menu_t::root, RZ_NEW0, rz_str_new(), sdb_fmt(), rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, and rz_panel_t::view.
Referenced by __init_menu_color_settings_layout(), __init_menu_disasm_asm_settings_layout(), __init_menu_disasm_settings_layout(), __init_menu_saved_layout(), __init_menu_screen_settings_layout(), and __init_panels_menu().
|
static |
Definition at line 2112 of file panels.c.
References __show_status(), free(), msg, rz_core_t::offset, PFMT64x, RZ_CONS_CLEAR_LINE, rz_core_visual_mark(), and rz_str_newf().
Referenced by __handle_visual_mark().
|
static |
Definition at line 1239 of file panels.c.
References __get_panel(), h, i, rz_panels_t::n_panels, p, PANEL_CONFIG_SIDEPANEL_W, rz_core_t::panels, and rz_cons_get_size().
Referenced by __add_cmd_panel(), __add_cmdf_panel(), and __add_help_panel().
Definition at line 1148 of file panels.c.
References __show_status(), rz_panel_model_t::cmd, rz_panel_model_t::filter, i, malloc(), rz_panel_t::model, rz_panel_model_t::n_filter, out, and RZ_LOG_ERROR.
Referenced by __handle_cmd_str_cache(), and __update_panel_title().
|
static |
Definition at line 3191 of file panels.c.
References rz_core_t::offset, and rz_core_visual_asm().
Referenced by __init_panels_menu().
|
static |
Definition at line 3533 of file panels.c.
References __panel_prompt(), addr, rz_core_t::cons, rz_cons_t::line, rz_core_t::num, prompt(), rz_line_t::prompt_type, rz_core_debug_breakpoint_toggle(), rz_line_hist_cmd_down(), rz_line_hist_cmd_up(), rz_line_hist_offset_down(), rz_line_hist_offset_up(), RZ_LINE_PROMPT_DEFAULT, RZ_LINE_PROMPT_OFFSET, rz_line_set_hist_callback(), rz_num_math(), and ut64().
Referenced by __init_panels_menu(), and __put_breakpoints_cb().
Definition at line 746 of file panels.c.
References rz_panel_model_t::cache, cache_white_list_cmds, rz_panel_model_t::cmd, COUNT, i, and rz_panel_t::model.
Referenced by __init_panel_param(), and __replace_cmd().
|
static |
Definition at line 3273 of file panels.c.
References __show_status_input(), free(), rz_cons_flush(), rz_core_cmdf(), and s.
Referenced by __init_panels_menu().
|
static |
Definition at line 2836 of file panels.c.
References __check_func(), __create_new_canvas(), rz_panels_t::can, rz_core_t::config, h, NULL, rz_core_t::panels, rz_config_get_i(), rz_config_set_i(), rz_cons_canvas_free(), rz_cons_get_size(), rz_core_visual_graph(), and w.
Referenced by __panels_process().
|
static |
Definition at line 3527 of file panels.c.
References rz_core_analysis_calls().
Referenced by __init_panels_menu().
|
static |
Definition at line 712 of file panels.c.
References __get_panel(), rz_panels_t::can, rz_panel_view_t::edge, rz_cons_canvas_t::h, rz_panel_pos_t::h, i, rz_panels_t::n_panels, PANEL_EDGE_BOTTOM, PANEL_EDGE_RIGHT, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, rz_cons_canvas_t::w, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __panels_layout_refresh().
Definition at line 2853 of file panels.c.
References rz_core_t::analysis, rz_analysis_function_t::bbs, rz_core_t::offset, RZ_ANALYSIS_FCN_TYPE_NULL, rz_analysis_get_fcn_in(), and rz_cons_message().
Referenced by __call_visual_graph(), and __panels_process().
Definition at line 2866 of file panels.c.
References rz_core_t::analysis, rz_analysis_function_t::name, NULL, rz_core_t::offset, p, RZ_ANALYSIS_FCN_TYPE_NULL, rz_analysis_get_fcn_in(), rz_str_dup(), and RZ_STR_ISEMPTY.
Referenced by __print_default_cb(), __print_disasmsummary_cb(), and __print_graph_cb().
Definition at line 708 of file panels.c.
References __get_cur_panel(), and rz_core_t::panels.
Referenced by __update_help_title(), and __update_panel_title().
Definition at line 656 of file panels.c.
References rz_panels_t::can, rz_core_t::panels, w, and x.
Referenced by __handle_mouse().
Definition at line 676 of file panels.c.
References __get_panel(), rz_core_t::config, i, rz_panels_t::mouse_on_edge_x, rz_panels_t::mouse_orig_x, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::pos, rz_config_get_i(), rz_panel_t::view, x, and rz_panel_pos_t::x.
Referenced by __handle_mouse().
Definition at line 666 of file panels.c.
References rz_panels_t::can, h, and rz_core_t::panels.
Referenced by __handle_mouse().
Definition at line 691 of file panels.c.
References __get_panel(), rz_core_t::config, i, rz_panels_t::mouse_on_edge_y, rz_panels_t::mouse_orig_y, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::pos, rz_config_get_i(), rz_panel_t::view, rz_panel_pos_t::w, x, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_mouse().
Definition at line 2945 of file panels.c.
References __show_status(), msg, rz_panels_t::n_panels, PANEL_NUM_LIMIT, and rz_core_t::panels.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __create_panel(), __split_panel_horizontal(), and __split_panel_vertical().
Definition at line 791 of file panels.c.
References rz_panel_model_t::cmd, COUNT, free(), hexdump_rotate, i, len, rz_panel_t::model, n, PANEL_CMD_DISASMSUMMARY, PANEL_CMD_DISASSEMBLY, PANEL_CMD_HEXDUMP, PANEL_CMD_STACK, RZ_STR_ISEMPTY, rz_str_new(), rz_str_split(), rz_str_word_get0(), autogen_x86imm::tmp, and type.
Referenced by __cursor_left(), __cursor_right(), __handle_console(), __handle_cursor_mode(), __handle_mouse_on_panel(), __handle_refs(), __handle_visual_mark(), __handleComment(), __handlePrompt(), __hudstuff(), __init_panel_param(), __insert_value(), __is_abnormal_cursor_type(), __is_normal_cursor_type(), __panel_breakpoint(), __panels_check_stackbase(), __panels_process(), __redo_seek(), __refresh_core_offset(), __set_addr_by_type(), __set_breakpoints_on_cursor(), __set_dcb(), __set_pcb(), __set_rcb(), __set_refresh_all(), __set_refresh_by_type(), __undo_seek(), __update_disassembly_or_open(), __update_panel_contents(), and search_db_check_panel_type().
|
static |
Definition at line 838 of file panels.c.
References rz_core_t::panels_root, and rz_panels_root_t::root_state.
Referenced by __panels_process(), and rz_core_visual_panels_root().
|
static |
Definition at line 3141 of file panels.c.
References __get_panels_config_dir_path(), __init_menu_saved_layout(), __show_status_yesno(), __update_menu(), free(), rz_file_rm(), rz_list_free(), rz_str_newf(), RZ_SYS_DIR, rz_sys_dir(), and autogen_x86imm::tmp.
Referenced by __init_panels_menu().
|
static |
Definition at line 4563 of file panels.c.
References __clear_panels_menuRec(), rz_panels_menu_t::depth, rz_panels_menu_t::history, rz_panels_menu_t::n_refresh, p, rz_core_t::panels, rz_panels_menu_t::root, and rz_panels_menu_item::selectedIndex.
Referenced by __handle_mouse_on_menu(), __handle_mouse_on_top(), __init_panels_menu(), __panels_process(), and __save_layout_cb().
|
static |
Definition at line 4552 of file panels.c.
References i, rz_panels_menu_item::n_sub, rz_panels_menu_item::selectedIndex, and rz_panels_menu_item::sub.
Referenced by __clear_panels_menu().
|
static |
Definition at line 3121 of file panels.c.
References rz_core_t::bin, rz_core_t::files, rz_core_t::io, rz_bin_file_delete_all(), rz_core_file_close_fd(), rz_io_close_all(), and rz_list_purge().
Referenced by __init_panels_menu().
|
static |
Definition at line 3321 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
|
static |
Definition at line 3220 of file panels.c.
References __draw_menu(), __init_menu_disasm_asm_settings_layout(), __init_menu_screen_settings_layout(), __update_menu(), rz_core_t::config, rz_panels_menu_t::depth, free(), rz_panels_menu_t::history, i, rz_panel_t::model, rz_panels_menu_item::name, rz_panels_menu_item::p, p, rz_core_t::panels, rz_panels_t::panels_menu, rz_panels_menu_t::refreshPanels, rz_config_toggle(), rz_str_split(), rz_strbuf_drain(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, rz_panel_model_t::title, and autogen_x86imm::tmp.
Referenced by __init_menu_disasm_asm_settings_layout(), __init_menu_disasm_settings_layout(), and __init_menu_screen_settings_layout().
|
static |
Definition at line 3246 of file panels.c.
References __draw_menu(), __init_menu_disasm_asm_settings_layout(), __init_menu_screen_settings_layout(), __show_status_input(), __update_menu(), rz_core_t::config, rz_panels_menu_t::depth, free(), rz_panels_menu_t::history, i, rz_panel_t::model, rz_panels_menu_item::name, rz_panels_menu_item::p, p, rz_core_t::panels, rz_panels_t::panels_menu, rz_panels_menu_t::refreshPanels, rz_config_set(), rz_str_split(), rz_strbuf_drain(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, rz_panel_model_t::title, autogen_x86imm::tmp, and v.
Referenced by __init_menu_disasm_asm_settings_layout(), and __init_menu_screen_settings_layout().
|
static |
Definition at line 4969 of file panels.c.
References __continue_cb(), and __update_disassembly_or_open().
Referenced by __init_almighty_db().
|
static |
Definition at line 3333 of file panels.c.
References rz_cons_flush(), and rz_core_debug_continue().
Referenced by __continue_almighty_cb(), and __init_panels_menu().
|
static |
Definition at line 3167 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
Definition at line 5660 of file panels.c.
References __delete_almighty(), __exec_almighty(), __free_modal(), __init_modal(), __replace_cmd(), __set_cursor(), __set_geometry(), __show_status_input(), __update_modal(), rz_panels_t::can, cb, cmd, free(), get_word_from_canvas_for_menu(), rz_cons_canvas_t::h, h, HORIZONTAL, RModal::idx, INT8_MAX, key, NONE, NULL, rz_core_t::panels, RModal::pos, rz_cons_arrow_to_hjkl(), rz_cons_get_click(), rz_cons_readchar(), RZ_STR_ISNOTEMPTY, sdb_ptr_get(), VERTICAL, w, rz_cons_canvas_t::w, and x.
Referenced by __handle_menu(), __handle_mouse_on_X(), and __panels_process().
|
static |
Definition at line 5762 of file panels.c.
References __get_panel(), __init_panel_param(), __search_db(), __set_curnode(), free(), i, rz_panels_t::layout, rz_panels_t::n_panels, p, PANEL_LAYOUT_DEFAULT_DYNAMIC, rz_core_t::panels, panels_dynamic, panels_static, and s.
Referenced by __init_new_panels_root(), __load_layout_default_cb(), and __load_layout_saved_cb().
|
static |
Definition at line 2933 of file panels.c.
References rz_cons_canvas_t::color, rz_core_t::config, eprintf, h, rz_cons_canvas_t::linemode, rz_config_get_i(), rz_cons_canvas_fill(), rz_cons_canvas_new(), and w.
Referenced by __call_visual_graph(), __init(), and __panels_process().
|
static |
Definition at line 4925 of file panels.c.
References __check_panel_num(), __replace_cmd(), __split_panel_horizontal(), __split_panel_vertical(), cmd, HORIZONTAL, NONE, and VERTICAL.
Referenced by __create_panel_db(), __create_panel_input(), __search_strings_bin_create(), and __search_strings_data_create().
|
static |
Definition at line 4898 of file panels.c.
References __create_panel(), cmd, rz_panels_t::db, rz_core_t::panels, and sdb_get().
Referenced by __init_almighty_db().
|
static |
Definition at line 4916 of file panels.c.
References __create_panel(), __show_status_input(), and cmd.
Referenced by __handle_window_mode(), and __init_almighty_db().
|
static |
Definition at line 5235 of file panels.c.
References __get_panels_config_dir_path(), RZ_FREE, RZ_JOIN_2_PATHS, rz_str_newf(), and rz_sys_mkdirp().
Referenced by rz_save_panels_layout().
Definition at line 2048 of file panels.c.
References b, rz_debug_t::bp, rz_bp_t::bps, rz_panel_view_t::curpos, rz_core_t::dbg, i, rz_bp_del(), and rz_panel_t::view.
Referenced by __handle_cursor_mode().
|
static |
Definition at line 1492 of file panels.c.
References __fix_cursor_down(), rz_print_t::cur, rz_core_t::offset, rz_core_t::print, rz_analysis_op_free(), RZ_ANALYSIS_OP_MASK_BASIC, rz_core_analysis_op(), and rz_analysis_op_t::size.
Referenced by __direction_disassembly_cb().
|
static |
Definition at line 1447 of file panels.c.
References __check_panel_type(), __fix_cursor_up(), __get_cur_panel(), rz_panel_model_t::addr, rz_print_t::cur, rz_panel_t::model, PANEL_CMD_DISASSEMBLY, PANEL_CMD_REGISTERS, PANEL_CMD_STACK, rz_core_t::panels, and rz_core_t::print.
Referenced by __direction_disassembly_cb(), __direction_hexdump_cb(), __direction_register_cb(), and __direction_stack_cb().
|
static |
Definition at line 1463 of file panels.c.
References __check_panel_type(), __fix_cursor_down(), __get_cur_panel(), rz_panel_model_t::addr, rz_print_t::cur, rz_panel_t::model, PANEL_CMD_DISASSEMBLY, PANEL_CMD_REGISTERS, PANEL_CMD_STACK, rz_core_t::panels, and rz_core_t::print.
Referenced by __direction_disassembly_cb(), __direction_hexdump_cb(), __direction_register_cb(), and __direction_stack_cb().
|
static |
Definition at line 1480 of file panels.c.
References __fix_cursor_up(), addr, rz_print_t::cur, delta, rz_core_t::offset, rz_core_t::print, rz_core_prevop_addr(), and ut64().
Referenced by __direction_disassembly_cb().
|
static |
Definition at line 3090 of file panels.c.
References rz_io_t::desc, rz_io_desc_t::fd, rz_core_t::io, and rz_core_io_file_open().
Referenced by __init_panels_menu().
Definition at line 1123 of file panels.c.
References __get_cur_panel(), __update_help_contents(), __update_help_title(), __update_panel_title(), rz_panel_model_t::cmd, rz_print_t::cur_enabled, rz_panel_t::model, rz_core_t::panels, rz_core_t::print, rz_panel_model_t::print_cb, and rz_panel_model_t::readOnly.
Referenced by __panel_print().
|
static |
Definition at line 2679 of file panels.c.
References __del_panel(), __get_panel(), rz_panel_pos_t::h, i, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, and rz_panel_pos_t::w.
Referenced by __panels_layout_refresh().
|
static |
Definition at line 4151 of file panels.c.
References rz_panels_menu_t::depth, rz_panels_menu_t::history, i, rz_panels_menu_t::n_refresh, rz_panels_menu_item::p, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::refresh, rz_panels_menu_t::refreshPanels, and rz_panel_t::view.
Referenced by __handle_menu(), and __handle_mouse_on_menu().
Definition at line 2655 of file panels.c.
References __get_panel(), __set_curnode(), rz_panels_t::curnode, i, rz_panels_t::n_panels, rz_panels_t::panel, rz_core_t::panels, and autogen_x86imm::tmp.
Referenced by __del_invalid_panels(), and __dismantle_del_panel().
|
static |
Definition at line 6028 of file panels.c.
References rz_panels_root_t::cur_panels, i, rz_panels_root_t::n_panels, rz_panels_root_t::panels, rz_core_t::panels_root, QUIT, and rz_panels_root_t::root_state.
Referenced by rz_core_visual_panels_root().
Definition at line 5750 of file panels.c.
References i, RModal::idx, ls_foreach, sdb_foreach_list(), sdb_remove(), and sdbkv_key().
Referenced by __create_almighty().
|
static |
Definition at line 3610 of file panels.c.
References __get_cur_panel(), DOWN, LEFT, rz_core_t::panels, rz_panel_view_t::refresh, RIGHT, rz_panel_view_t::sx, rz_panel_view_t::sy, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3634 of file panels.c.
References __cursor_down(), __cursor_left(), __cursor_right(), __cursor_up(), __get_cur_panel(), __set_panel_addr(), rz_panel_model_t::addr, rz_print_t::cols, rz_print_t::cur_enabled, DOWN, LEFT, rz_panels_t::mode, rz_panel_t::model, rz_core_t::offset, op, PANEL_MODE_ZOOM, rz_core_t::panels, rz_core_t::print, rz_panel_view_t::refresh, RIGHT, rz_core_block_read(), rz_core_seek(), rz_core_seek_delta(), rz_core_visual_disasm_down(), rz_core_visual_disasm_up(), rz_panel_view_t::sx, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3691 of file panels.c.
References __get_cur_panel(), rz_core_t::config, DOWN, LEFT, rz_core_t::panels, rz_panel_view_t::refresh, RIGHT, rz_config_get_i(), rz_panel_view_t::sx, rz_panel_view_t::sy, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3797 of file panels.c.
References __cursor_left(), __cursor_right(), __get_cur_panel(), __set_panel_addr(), rz_panel_model_t::addr, rz_panel_model_t::cache, rz_core_t::config, rz_print_t::cur, rz_print_t::cur_enabled, DOWN, rz_panel_pos_t::h, LEFT, rz_panel_t::model, rz_core_t::panels, rz_panel_view_t::pos, rz_core_t::print, rz_panel_view_t::refresh, RIGHT, rz_config_get_i(), rz_panel_view_t::sy, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3864 of file panels.c.
References __get_cur_panel(), rz_panel_model_t::addr, rz_core_t::config, rz_print_t::cur_enabled, rz_panel_view_t::curpos, DOWN, rz_panel_pos_t::h, LEFT, rz_panel_t::model, rz_core_t::offset, rz_core_t::panels, rz_panel_view_t::pos, rz_core_t::print, rz_panel_view_t::refresh, RIGHT, rz_config_get_i(), rz_panel_view_t::sx, rz_panel_view_t::sy, THRESHOLD, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3717 of file panels.c.
References __cursor_left(), __cursor_right(), __get_cur_panel(), rz_print_t::cur, rz_print_t::cur_enabled, rz_core_t::dbg, DOWN, LEFT, rz_core_t::panels, rz_core_t::print, rz_panel_view_t::refresh, rz_debug_t::regcols, RIGHT, rz_panel_view_t::sx, autogen_x86imm::tmp, UP, and rz_panel_t::view.
Referenced by __set_dcb().
|
static |
Definition at line 3758 of file panels.c.
References __cursor_left(), __cursor_right(), __get_cur_panel(), rz_panel_model_t::addr, rz_core_t::config, rz_print_t::cur_enabled, DOWN, LEFT, rz_panel_t::model, rz_core_t::panels, rz_core_t::print, rz_panel_view_t::refresh, RIGHT, rz_config_get_i(), rz_config_set_i(), rz_panel_view_t::sx, UP, and rz_panel_t::view.
Referenced by __set_dcb().
Definition at line 2670 of file panels.c.
References __del_panel(), __dismantle_panel(), rz_panels_t::n_panels, p, and rz_core_t::panels.
Referenced by __handle_mouse_on_X(), __handle_tab_new_with_cur_panel(), __handle_window_mode(), __panels_process(), and __toggle_help().
Definition at line 2697 of file panels.c.
References __get_panel(), rz_panel_pos_t::h, i, memset(), rz_panels_t::n_panels, NULL, p, PANEL_NUM_LIMIT, rz_panel_view_t::pos, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __dismantle_del_panel(), and __move_panel_to_dir().
|
static |
Definition at line 4769 of file panels.c.
References __panel_all_clear(), __panels_layout_refresh(), and rz_core_t::panels.
Referenced by __do_panels_resize(), and __panels_process().
|
static |
Definition at line 4777 of file panels.c.
References __do_panels_resize(), rz_core_task_enqueue_oneshot(), and rz_core_t::tasks.
Referenced by __panels_process(), and __print_graph_cb().
|
static |
Definition at line 4753 of file panels.c.
References __do_panels_refresh(), __get_panel(), rz_panel_view_t::edge, rz_panel_pos_t::h, h, i, rz_panels_t::n_panels, PANEL_EDGE_BOTTOM, PANEL_EDGE_RIGHT, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), rz_panel_t::view, w, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __do_panels_refreshOneShot().
Definition at line 2020 of file panels.c.
References __update_edge_x(), __update_edge_y(), rz_panels_t::mouse_on_edge_x, rz_panels_t::mouse_on_edge_y, rz_panels_t::mouse_orig_x, rz_panels_t::mouse_orig_y, rz_core_t::panels, rz_cons_get_click(), and x.
Referenced by __handle_mouse().
|
static |
Definition at line 4163 of file panels.c.
References Color_RESET, rz_core_t::cons, rz_cons_t::context, rz_cons_printable_palette_t::graph_box2, i, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, NULL, rz_cons_context_t::pal, rz_strbuf_append(), rz_strbuf_appendf(), rz_strbuf_new(), rz_panels_menu_item::selectedIndex, and rz_panels_menu_item::sub.
Referenced by __config_toggle_cb(), __config_value_cb(), __open_menu_cb(), and __update_menu_contents().
|
static |
Definition at line 5643 of file panels.c.
References Color_RESET, rz_core_t::cons, rz_cons_t::context, RModal::data, rz_cons_printable_palette_t::graph_box2, RModal::idx, rz_cons_context_t::pal, rz_strbuf_append(), rz_strbuf_appendf(), and start.
Referenced by __update_modal().
|
static |
Definition at line 4056 of file panels.c.
References NULL, rz_core_analysis_esil_init_mem(), rz_core_analysis_esil_init_regs(), UT32_MAX, and UT64_MAX.
Referenced by __esil_init_cb(), and __esil_step_range_cb().
|
static |
Definition at line 3340 of file panels.c.
References __esil_init().
Referenced by __init_panels_menu().
|
static |
Definition at line 3353 of file panels.c.
References __esil_init(), __esil_step_to(), __show_status_input(), d, NULL, rz_core_t::num, rz_core_t::offset, rz_num_math(), rz_strbuf_append(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), s, autogen_x86imm::tmp, and ut64().
Referenced by __init_panels_menu().
Definition at line 4061 of file panels.c.
References test_evm::end, NULL, and rz_core_esil_step().
Referenced by __esil_step_range_cb(), and __esil_step_to_cb().
|
static |
Definition at line 3346 of file panels.c.
References __esil_step_to(), __show_status_input(), test_evm::end, rz_core_t::num, and rz_num_math().
Referenced by __init_panels_menu().
|
static |
Definition at line 5736 of file panels.c.
References cb, i, RModal::idx, ls_foreach, sdb_foreach_list(), sdb_ptr_get(), and sdbkv_key().
Referenced by __create_almighty().
Definition at line 5032 of file panels.c.
References desc, rz_io_t::files, files, rz_core_t::io, setup::line, rz_id_storage_list(), RZ_LINE_BUFSIZE, rz_list_free(), rz_list_get_n(), and rz_list_length().
Referenced by __open_file_cb().
Definition at line 5015 of file panels.c.
References desc, rz_io_t::files, files, rz_core_t::io, setup::line, rz_id_storage_list(), RZ_LINE_BUFSIZE, rz_list_free(), rz_list_get_n(), and rz_list_length().
Referenced by __open_file_cb().
|
static |
Definition at line 3197 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
Definition at line 1141 of file panels.c.
References rz_panel_model_t::cache, rz_panel_model_t::cmdStrCache, rz_panel_t::model, and NULL.
Referenced by __print_default_cb(), __print_disasmsummary_cb(), __print_disassembly_cb(), __print_graph_cb(), and __print_hexdump_cb().
|
static |
Definition at line 1520 of file panels.c.
References rz_core_t::block, rz_print_t::cur, i, rz_print_t::ocur, rz_core_t::offset, op, rz_core_t::print, rz_core_t::rasm, rz_asm_disassemble(), rz_core_seek_delta(), RZ_MAX, and rz_print_t::screen_bounds.
Referenced by __cursor_down(), and __cursor_right().
|
static |
Definition at line 1504 of file panels.c.
References rz_print_t::cur, rz_print_t::ocur, rz_core_t::offset, rz_core_t::print, rz_core_seek_delta(), and rz_core_visual_prevopsz().
Referenced by __cursor_left(), and __cursor_up().
|
static |
Definition at line 2480 of file panels.c.
References __fix_layout_h(), and __fix_layout_w().
Referenced by __move_panel_to_down(), __move_panel_to_left(), __move_panel_to_right(), __move_panel_to_up(), __split_panel_horizontal(), and __split_panel_vertical().
|
static |
Definition at line 2525 of file panels.c.
References __get_panel(), found, h, i, INT8_MAX, list(), min, rz_panels_t::n_panels, NULL, num, p, rz_core_t::panels, RZ_ABS, rz_cons_get_size(), rz_list_append(), rz_list_free(), and rz_list_new().
Referenced by __fix_layout().
|
static |
Definition at line 2485 of file panels.c.
References __get_panel(), found, i, INT8_MAX, list(), min, rz_panels_t::n_panels, NULL, num, p, rz_core_t::panels, RZ_ABS, rz_list_append(), and rz_list_new().
Referenced by __fix_layout().
|
static |
Definition at line 3569 of file panels.c.
References free(), rz_cons_message(), rz_core_fortune_get_random(), and s.
Referenced by __init_panels_menu().
|
static |
Definition at line 4615 of file panels.c.
References free(), i, rz_panel_t::model, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, rz_panels_menu_item::p, rz_panels_menu_item::sub, and rz_panel_t::view.
Referenced by __add_menu(), and __mht_free_kv().
|
static |
|
static |
Definition at line 4602 of file panels.c.
References rz_panel_model_t::cmd, rz_panel_model_t::cmdStrCache, free(), rz_panel_t::model, rz_panel_model_t::readOnly, and rz_panel_model_t::title.
Referenced by __replace_cmd().
|
static |
Definition at line 3505 of file panels.c.
References NULL, rz_core_t::offset, and rz_core_analysis_function_add().
Referenced by __init_panels_menu().
Definition at line 925 of file panels.c.
References __get_panel(), and rz_panels_t::curnode.
Referenced by __activate_cursor(), __check_if_cur_panel(), __cursor_left(), __cursor_right(), __default_panel_print(), __direction_default_cb(), __direction_disassembly_cb(), __direction_graph_cb(), __direction_hexdump_cb(), __direction_panels_cursor_cb(), __direction_register_cb(), __direction_stack_cb(), __handle_cmd_str_cache(), __handle_cursor_mode(), __handle_menu(), __handle_mouse(), __handle_mouse_on_menu(), __handle_mouse_on_X(), __handle_tab_key(), __handle_tab_new_with_cur_panel(), __handle_visual_mark(), __handle_window_mode(), __handleComment(), __hudstuff(), __insert_value(), __maximize_panel_size(), __move_to_direction(), __panel_breakpoint(), __panels_process(), __panels_refresh(), __redo_seek(), __refresh_core_offset(), __replace_cmd(), __resize_panel_down(), __resize_panel_left(), __resize_panel_right(), __resize_panel_up(), __rotate_disasm_cb(), __rotate_hexdump_cb(), __rotate_panel_cmds(), __save_layout_cb(), __set_curnode(), __set_cursor(), __toggle_zoom_mode(), and __undo_seek().
Definition at line 918 of file panels.c.
References i, NULL, rz_panels_t::panel, and PANEL_NUM_LIMIT.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __add_help_panel(), __adjust_side_panels(), __check_edge(), __check_if_mouse_x_on_edge(), __check_if_mouse_y_on_edge(), __create_default_panels(), __del_invalid_panels(), __del_panel(), __dismantle_panel(), __do_panels_resize(), __fix_layout_h(), __fix_layout_w(), __get_cur_panel(), __get_panel_idx_in_pos(), __handle_menu(), __handle_mouse_on_panel(), __handle_mouse_on_X(), __handle_tab_new_with_cur_panel(), __handlePrompt(), __hudstuff(), __layout_default(), __move_panel_to_down(), __move_panel_to_left(), __move_panel_to_right(), __move_panel_to_up(), __move_to_direction(), __panel_all_clear(), __panels_check_stackbase(), __panels_refresh(), __resize_panel_down(), __resize_panel_left(), __resize_panel_right(), __resize_panel_up(), __rotate_panels(), __seek_all(), __set_addr_by_type(), __set_refresh_all(), __set_refresh_by_type(), __split_panel_horizontal(), __split_panel_vertical(), __swap_panels(), __toggle_help(), __update_disassembly_or_open(), __update_edge_x(), __update_edge_y(), __update_help(), rz_core_visual_panels_root(), rz_load_panels_layout(), and rz_save_panels_layout().
Definition at line 929 of file panels.c.
References __get_panel(), i, rz_panels_t::n_panels, p, rz_core_t::panels, and x.
Referenced by __handle_mouse_on_panel(), and __handle_mouse_on_X().
|
static |
Definition at line 5228 of file panels.c.
References free(), RZ_DATADIR, rz_file_path_join(), and rz_path_home_prefix().
Referenced by __clear_layout_cb(), __create_panels_config_path(), __get_panels_config_file_from_dir(), and __init_menu_saved_layout().
char* __get_panels_config_file_from_dir | ( | const char * | file | ) |
Definition at line 5243 of file panels.c.
References __get_panels_config_dir_path(), free(), NULL, RZ_JOIN_2_PATHS, rz_list_free(), rz_str_newf(), rz_sys_dir(), and autogen_x86imm::tmp.
Referenced by rz_load_panels_layout().
Definition at line 1168 of file panels.c.
References __apply_filter_cmd(), __get_cur_panel(), __set_cmd_str_cache(), b, rz_panel_model_t::cache, cmd, rz_print_t::cur_enabled, free(), rz_panel_t::model, NULL, out, rz_core_t::panels, rz_core_t::print, rz_cons_echo(), rz_core_cmd_str(), RZ_FREE, and RZ_STR_ISNOTEMPTY.
Referenced by __print_default_cb(), __print_disasmsummary_cb(), __print_disassembly_cb(), __print_graph_cb(), and __print_hexdump_cb().
Definition at line 5157 of file panels.c.
References __check_panel_type(), __panel_prompt(), cmd, key, rz_core_t::offset, PANEL_CMD_CONSOLE, PFMT64x, prompt(), rz_panel_view_t::refresh, rz_cons_switchbuf(), rz_core_cmd0(), rz_core_cmdf(), rz_str_newf(), and rz_panel_t::view.
Referenced by __panels_process().
Definition at line 1754 of file panels.c.
References __check_panel_type(), __cursor_del_breakpoints(), __get_cur_panel(), __handle_refs(), __insert_value(), __jmp_to_cursor_addr(), __parse_string_on_cursor(), __reset_scroll_pos(), __search_db(), __set_breakpoints_on_cursor(), __set_cursor(), __set_panel_addr(), __toggle_window_mode(), rz_core_t::config, rz_print_t::cur, rz_print_t::cur_enabled, rz_panel_view_t::curpos, free(), key, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, PANEL_CMD_HEXDUMP, rz_core_t::panels, rz_core_t::print, rz_panel_view_t::refresh, rz_config_get_i(), rz_config_set_i(), rz_core_reg_set_by_role_or_name(), rz_panel_view_t::sy, and rz_panel_t::view.
Referenced by __panels_process().
Definition at line 5054 of file panels.c.
References __create_almighty(), __del_menu(), __get_cur_panel(), __get_panel(), __handle_tab_key(), __handlePrompt(), __set_mode(), __toggle_help(), __update_menu_contents(), rz_panels_t::almighty_db, rz_panels_menu_item::cb, rz_panels_menu_t::depth, rz_panels_menu_t::history, key, rz_panels_menu_t::n_refresh, rz_panels_menu_item::n_sub, rz_core_t::offset, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::refresh, rz_panels_menu_t::root, rz_cons_switchbuf(), rz_core_reg_set_by_role_or_name(), RZ_MIN, rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, and rz_panel_t::view.
Referenced by __panels_process().
Definition at line 1844 of file panels.c.
References __check_if_mouse_x_illegal(), __check_if_mouse_x_on_edge(), __check_if_mouse_y_illegal(), __check_if_mouse_y_on_edge(), __drag_and_resize(), __get_cur_panel(), __handle_mouse_on_menu(), __handle_mouse_on_panel(), __handle_mouse_on_top(), __handle_mouse_on_X(), __split_panel_horizontal(), __split_panel_vertical(), h, INT8_MAX, key, rz_panels_t::mode, rz_panels_t::mouse_on_edge_x, rz_panels_t::mouse_on_edge_y, p, PANEL_MODE_MENU, rz_core_t::panels, rz_cons_get_click(), rz_cons_get_size(), w, and x.
Referenced by __panels_process().
Definition at line 1996 of file panels.c.
References __clear_panels_menu(), __del_menu(), __get_cur_panel(), __set_mode(), __update_menu_contents(), rz_panels_menu_item::cb, d, rz_panels_menu_t::depth, free(), get_word_from_canvas_for_menu(), rz_panels_menu_t::history, i, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::refresh, rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, rz_panel_t::view, and x.
Referenced by __handle_mouse().
|
static |
Definition at line 1956 of file panels.c.
References __check_panel_type(), __get_panel(), __get_panel_idx_in_pos(), __seek_all(), __set_addr_by_type(), __set_curnode(), __set_refresh_all(), addr, rz_core_t::config, rz_core_t::flags, free(), get_word_from_canvas(), h, setup::idx, key, rz_core_t::num, PANEL_CMD_DISASSEMBLY, PANEL_CMD_FUNCTION, rz_core_t::panels, rz_panel_view_t::pos, rz_config_set(), rz_cons_get_size(), rz_core_seek_and_save(), rz_flag_set(), rz_num_math(), ut64(), rz_panel_t::view, x, and rz_panel_pos_t::x.
Referenced by __handle_mouse().
Definition at line 1895 of file panels.c.
References __clear_panels_menu(), __handle_tab_new(), __handle_tab_nth(), __set_mode(), rz_panels_menu_item::cb, COUNT, rz_panels_menu_t::depth, free(), get_word_from_canvas(), rz_panels_menu_t::history, i, menus, PANEL_MODE_MENU, rz_core_t::panels, rz_panels_t::panels_menu, rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, and x.
Referenced by __handle_mouse().
Definition at line 1927 of file panels.c.
References __create_almighty(), __dismantle_del_panel(), __get_cur_panel(), __get_panel(), __get_panel_idx_in_pos(), __set_curnode(), __set_mode(), __set_refresh_all(), __toggle_cache(), rz_panels_t::almighty_db, free(), get_word_from_canvas(), setup::idx, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, rz_panel_pos_t::w, x, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_mouse().
|
static |
Definition at line 6102 of file panels.c.
References rz_core_t::config, rz_config_get_b(), and rz_config_toggle().
Referenced by __panels_process().
Definition at line 2090 of file panels.c.
References __check_panel_type(), __set_addr_by_type(), __set_panel_addr(), __show_status(), key, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_visual_xrefs(), autogen_x86imm::tmp, and UT64_MAX.
Referenced by __handle_cursor_mode(), and __panels_process().
|
static |
Definition at line 6044 of file panels.c.
References __handle_tab_name(), __handle_tab_new(), __handle_tab_new_with_cur_panel(), __handle_tab_next(), __handle_tab_nth(), __handle_tab_prev(), __set_root_state(), Color_RESET, rz_core_t::cons, rz_cons_t::context, DEL, rz_cons_printable_palette_t::graph_box2, isdigit, max, min, rz_panels_root_t::n_panels, rz_cons_context_t::pal, rz_core_t::panels_root, RZ_CONS_CLEAR_LINE, rz_cons_flush(), rz_cons_gotoxy(), rz_cons_printf(), and rz_cons_readchar().
Referenced by __panels_process().
Definition at line 5189 of file panels.c.
References __get_cur_panel(), __set_curnode(), __set_cursor(), __set_mode(), rz_panels_t::curnode, rz_panels_t::mode, rz_panels_t::n_panels, PANEL_MODE_DEFAULT, PANEL_MODE_MENU, PANEL_MODE_ZOOM, rz_core_t::panels, rz_panel_view_t::refresh, rz_cons_switchbuf(), shift(), and rz_panel_t::view.
Referenced by __handle_menu(), __handle_window_mode(), __handle_zoom_mode(), and __panels_process().
|
static |
Definition at line 6123 of file panels.c.
References __show_status_input(), rz_panels_t::name, and rz_core_t::panels.
Referenced by __handle_tab().
|
static |
Definition at line 6127 of file panels.c.
References __init_new_panels_root(), rz_panels_root_t::n_panels, PANEL_NUM_LIMIT, and rz_core_t::panels_root.
Referenced by __handle_mouse_on_top(), and __handle_tab().
|
static |
Definition at line 6134 of file panels.c.
References __dismantle_del_panel(), __get_cur_panel(), __get_panel(), __init_all_dbs(), __init_panel_param(), __init_panels(), __init_panels_menu(), __maximize_panel_size(), __panels_new(), __set_cmd_str_cache(), __set_mode(), __set_root_state(), rz_panel_model_t::cache, rz_panel_model_t::cmd, rz_panel_model_t::cmdStrCache, rz_panels_t::curnode, rz_panel_model_t::funcName, rz_panel_t::model, rz_panels_t::n_panels, PANEL_MODE_DEFAULT, PANEL_NUM_LIMIT, rz_core_t::panels, rz_core_t::panels_root, root, ROTATE, rz_str_new(), and rz_panel_model_t::title.
Referenced by __handle_tab().
|
static |
Definition at line 6094 of file panels.c.
References __set_root_state(), rz_panels_root_t::cur_panels, rz_panels_root_t::n_panels, rz_core_t::panels_root, and ROTATE.
Referenced by __handle_tab().
Definition at line 6083 of file panels.c.
References __set_root_state(), rz_panels_root_t::cur_panels, rz_core_t::panels_root, and ROTATE.
Referenced by __handle_mouse_on_top(), and __handle_tab().
|
static |
Definition at line 6113 of file panels.c.
References __set_root_state(), rz_panels_root_t::cur_panels, rz_panels_root_t::n_panels, rz_core_t::panels_root, and ROTATE.
Referenced by __handle_tab().
|
static |
Definition at line 2059 of file panels.c.
References __add_visual_mark(), __check_panel_type(), __get_cur_panel(), __set_panel_addr(), __show_status(), rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, RZ_CONS_CLEAR_LINE, rz_cons_flush(), rz_cons_gotoxy(), rz_cons_printf(), rz_cons_readchar(), rz_core_visual_mark_del(), rz_core_visual_mark_dump(), and rz_core_visual_mark_seek().
Referenced by __panels_process().
Definition at line 1673 of file panels.c.
References __create_panel_input(), __dismantle_del_panel(), __get_cur_panel(), __handle_tab_key(), __move_to_direction(), __replace_cmd(), __resize_panel_down(), __resize_panel_left(), __resize_panel_right(), __resize_panel_up(), __show_status_input(), __toggle_window_mode(), __toggle_zoom_mode(), cmd, rz_panels_t::curnode, DOWN, free(), HORIZONTAL, key, LEFT, NULL, rz_core_t::panels, RIGHT, rz_cons_switchbuf(), RZ_STR_ISNOTEMPTY, UP, and VERTICAL.
Referenced by __panels_process().
Definition at line 1542 of file panels.c.
References __handle_tab_key(), __maximize_panel_size(), __restore_panel_pos(), __save_panel_pos(), __toggle_help(), __toggle_zoom_mode(), rz_panels_t::curnode, key, rz_panels_t::panel, rz_core_t::panels, and rz_cons_switchbuf().
Referenced by __panels_process().
void __handleComment | ( | RzCore * | core | ) |
Definition at line 1618 of file panels.c.
References __check_panel_type(), __get_cur_panel(), __set_refresh_by_type(), addr, c, rz_print_t::cur, rz_print_t::cur_enabled, free(), i, len, memcpy(), NULL, rz_core_t::offset, p, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, rz_core_t::print, rz_cons_fgets(), rz_core_cmd(), rz_core_seek(), rz_core_seek_and_save(), rz_line_set_prompt(), strdup(), and ut64().
Referenced by __panels_process().
Definition at line 943 of file panels.c.
References __check_panel_type(), __get_panel(), __set_panel_addr(), i, rz_panels_t::n_panels, rz_core_t::offset, p, PANEL_CMD_DISASSEMBLY, and rz_core_visual_prompt_input().
Referenced by __handle_menu().
|
static |
Definition at line 3577 of file panels.c.
References __toggle_help().
Referenced by __init_panels_menu().
|
static |
Definition at line 3327 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
|
static |
Definition at line 4037 of file panels.c.
References __check_panel_type(), __get_cur_panel(), __get_panel(), __set_panel_addr(), i, rz_panels_t::n_panels, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, and rz_core_visual_hudstuff().
Referenced by __panels_process().
Definition at line 4987 of file panels.c.
References __create_new_canvas(), __mht_free_kv(), rz_panels_t::almighty_db, rz_panels_t::autoUpdate, rz_panels_t::can, rz_panels_t::columnWidth, rz_core_t::config, rz_panels_t::db, h, rz_panels_t::layout, rz_panels_t::mht, rz_panels_t::mouse_on_edge_x, rz_panels_t::mouse_on_edge_y, rz_panels_t::mouse_orig_x, rz_panels_t::mouse_orig_y, rz_panels_t::n_panels, rz_panels_t::name, NULL, rz_panels_t::panel, PANEL_LAYOUT_DEFAULT_DYNAMIC, PANEL_LAYOUT_DEFAULT_STATIC, PANEL_MODE_DEFAULT, rz_panels_t::prevMode, rz_panels_t::rotate_db, rz_config_get_b(), sdb_new0(), and w.
Referenced by __panels_new().
|
static |
Definition at line 4892 of file panels.c.
References __init_almighty_db(), __init_rotate_db(), and __init_sdb().
Referenced by __handle_tab_new_with_cur_panel(), and __init_new_panels_root().
|
static |
Definition at line 4871 of file panels.c.
References __continue_almighty_cb(), __create_panel_db(), __create_panel_input(), __put_breakpoints_cb(), __replace_current_panel_input(), __search_strings_bin_create(), __search_strings_data_create(), __step_almighty_cb(), __step_over_almighty_cb(), rz_panels_t::almighty_db, rz_core_t::config, rz_panels_t::db, key, ls_foreach, rz_core_t::panels, rz_config_get_b(), rz_str_new(), sdb_foreach_list(), sdb_ptr_set(), and sdbkv_key().
Referenced by __init_all_dbs().
|
static |
Definition at line 4216 of file panels.c.
References __add_menu(), __settings_colors_cb(), __sorted_list(), _core, color, rz_core_t::cons, rz_cons_t::context, COUNT, free(), rz_cons_printable_palette_t::graph_box2, list(), menus_Colors, NULL, rz_cons_context_t::pal, pos, rz_core_cmd_str(), rz_list_free(), rz_str_split(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), and rz_strbuf_setf().
Referenced by __init_panels_menu(), and __settings_colors_cb().
|
static |
Definition at line 4262 of file panels.c.
References __add_menu(), __config_toggle_cb(), __config_value_cb(), __sorted_list(), _core, rz_core_t::config, COUNT, list(), menus_settings_disassembly_asm, NULL, pos, rz_config_get(), rz_list_free(), rz_strbuf_append(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), and rz_strbuf_set().
Referenced by __config_toggle_cb(), __config_value_cb(), and __init_menu_disasm_settings_layout().
|
static |
Definition at line 4239 of file panels.c.
References __add_menu(), __config_toggle_cb(), __init_menu_disasm_asm_settings_layout(), __open_menu_cb(), __sorted_list(), _core, rz_core_t::config, COUNT, i, list(), menus_settings_disassembly, NULL, pos, rz_config_get(), rz_list_free(), rz_strbuf_append(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), and rz_strbuf_set().
Referenced by __init_panels_menu().
|
static |
Definition at line 4197 of file panels.c.
References __add_menu(), __get_panels_config_dir_path(), __load_layout_saved_cb(), _core, free(), rz_list_free(), and rz_sys_dir().
Referenced by __clear_layout_cb(), __init_panels_menu(), and rz_save_panels_layout().
|
static |
Definition at line 4285 of file panels.c.
References __add_menu(), __config_toggle_cb(), __config_value_cb(), _core, rz_core_t::config, i, menus_settings_screen, NULL, rz_config_get(), rz_strbuf_append(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), and rz_strbuf_set().
Referenced by __config_toggle_cb(), __config_value_cb(), and __init_panels_menu().
|
static |
Definition at line 4591 of file panels.c.
References __set_pos(), RModal::idx, NULL, RModal::offset, RModal::pos, and RZ_NEW0.
Referenced by __create_almighty().
|
static |
Definition at line 6000 of file panels.c.
References __create_default_panels(), __init_all_dbs(), __init_panels(), __init_panels_menu(), __panels_layout(), __panels_new(), __set_mode(), rz_panels_root_t::n_panels, PANEL_MODE_DEFAULT, rz_panels_root_t::panels, rz_core_t::panels, and rz_core_t::panels_root.
Referenced by __handle_tab_new(), and rz_core_visual_panels_root().
Definition at line 2955 of file panels.c.
References __cache_white_list(), __check_panel_type(), __set_cmd_str_cache(), __set_dcb(), __set_panel_addr(), __set_pcb(), __set_rcb(), __set_read_only(), rz_core_t::analysis, cmd, rz_core_t::config, regress::m, rz_panels_t::n_panels, NULL, rz_core_t::offset, p, PANEL_CMD_STACK, PANEL_TYPE_DEFAULT, rz_core_t::panels, rz_analysis_t::reg, rz_config_get_i(), rz_reg_get_name(), rz_reg_getv(), RZ_REG_NAME_SP, rz_str_dup(), RZ_STR_ISNOTEMPTY, sp, ut64(), and v.
Referenced by __create_default_panels(), __handle_tab_new_with_cur_panel(), __insert_panel(), and rz_load_panels_layout().
Definition at line 4573 of file panels.c.
References __renew_filter(), calloc(), i, rz_panel_t::model, rz_panels_t::panel, PANEL_NUM_LIMIT, RZ_NEW0, and rz_panel_t::view.
Referenced by __handle_tab_new_with_cur_panel(), __init_new_panels_root(), and __load_layout_default_cb().
Definition at line 4304 of file panels.c.
References __add_cmd_panel(), __add_menu(), __assemble_cb(), __break_points_cb(), __calculator_cb(), __calls_cb(), __clear_layout_cb(), __clear_panels_menu(), __close_file_cb(), __code_cb(), __continue_cb(), __copy_cb(), __debugger_cb(), __esil_init_cb(), __esil_step_range_cb(), __esil_step_to_cb(), __fill_cb(), __fortune_cb(), __function_cb(), __help_cb(), __hexpairs_cb(), __init_menu_color_settings_layout(), __init_menu_disasm_settings_layout(), __init_menu_saved_layout(), __init_menu_screen_settings_layout(), __io_cache_off_cb(), __io_cache_on_cb(), __license_cb(), __load_config_menu(), __load_layout_default_cb(), __open_file_cb(), __open_menu_cb(), __paste_cb(), __program_cb(), __quit_cb(), __references_cb(), __reload_cb(), __rop_cb(), __rw_cb(), __rz_shell_cb(), __save_layout_cb(), __sorted_list(), __step_cb(), __step_over_cb(), __string_data_sec_cb(), __string_whole_bin_cb(), __symbols_cb(), __system_shell_cb(), __version_cb(), __watch_points_cb(), __write_hex_cb(), __write_str_cb(), __writeValueCb(), calloc(), COUNT, rz_panels_menu_t::history, i, list(), menus, menus_Analyze, menus_Debug, menus_Edit, menus_Emulate, menus_File, menus_Help, menus_iocache, menus_loadLayout, menus_ReOpen, menus_Search, menus_Settings, menus_Tools, menus_View, NULL, rz_core_t::panels, rz_panels_t::panels_menu, pos, rz_panels_menu_t::refreshPanels, rz_panels_menu_t::root, root, RZ_FREE, and RZ_NEW0.
Referenced by __handle_tab_new_with_cur_panel(), and __init_new_panels_root().
|
static |
Definition at line 4817 of file panels.c.
References __rotate_disasm_cb(), __rotate_entropy_h_cb(), __rotate_entropy_v_cb(), __rotate_function_cb(), __rotate_hexdump_cb(), __rotate_register_cb(), PANEL_CMD_HEXDUMP, PANEL_CMD_REGISTERS, rz_core_t::panels, rz_panels_t::rotate_db, and sdb_ptr_set().
Referenced by __init_all_dbs().
|
static |
Definition at line 4828 of file panels.c.
References rz_panels_t::db, PANEL_CMD_REGISTERS, PANEL_TITLE_STRINGS_BIN, PANEL_TITLE_STRINGS_DATA, rz_core_t::panels, and sdb_set().
Referenced by __init_all_dbs().
Definition at line 1361 of file panels.c.
References __init_panel_param(), cmd, i, n, rz_panels_t::n_panels, rz_panels_t::panel, PANEL_NUM_LIMIT, and rz_core_t::panels.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __add_help_panel(), __split_panel_horizontal(), __split_panel_vertical(), and __update_disassembly_or_open().
|
static |
Definition at line 5489 of file panels.c.
References __check_panel_type(), __get_cur_panel(), __panel_prompt(), __show_status(), __show_status_yesno(), rz_panel_model_t::addr, rz_core_t::config, rz_print_t::cur, rz_panel_t::model, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, PANEL_CMD_HEXDUMP, PANEL_CMD_STACK, rz_core_t::panels, rz_core_t::print, prompt(), rz_panel_view_t::refresh, rz_config_get_b(), rz_config_set_b(), rz_core_write_hexpair(), and rz_panel_t::view.
Referenced by __handle_cursor_mode().
|
static |
Definition at line 3397 of file panels.c.
References __set_mode(), __show_status(), rz_core_t::config, PANEL_MODE_DEFAULT, and rz_config_set_b().
Referenced by __init_panels_menu().
|
static |
Definition at line 3389 of file panels.c.
References __set_mode(), __show_status(), rz_core_t::config, PANEL_MODE_DEFAULT, and rz_config_set_b().
Referenced by __init_panels_menu().
Definition at line 850 of file panels.c.
References __check_panel_type(), PANEL_CMD_FUNCTION, PANEL_CMD_SYMBOLS, PANEL_TITLE_BREAKPOINTS, PANEL_TITLE_COMMENTS, PANEL_TITLE_DISASMSUMMARY, PANEL_TITLE_SECTIONS, PANEL_TITLE_SEGMENTS, PANEL_TITLE_STRINGS_BIN, PANEL_TITLE_STRINGS_DATA, and search_db_check_panel_type().
Referenced by __activate_cursor(), __set_cursor(), __set_dcb(), and __update_panel_contents().
Definition at line 878 of file panels.c.
References __check_panel_type(), PANEL_CMD_DISASSEMBLY, PANEL_CMD_HEXDUMP, PANEL_CMD_REGISTERS, and PANEL_CMD_STACK.
Referenced by __activate_cursor().
Definition at line 2039 of file panels.c.
References __parse_string_on_cursor(), __update_disassembly_or_open(), addr, rz_panel_view_t::curpos, rz_core_t::offset, ut64(), UT64_MAX, and rz_panel_t::view.
Referenced by __handle_cursor_mode().
|
static |
Definition at line 1211 of file panels.c.
References __get_panel(), __set_geometry(), rz_panels_t::columnWidth, h, i, rz_panels_t::n_panels, p, ph, rz_panel_view_t::pos, rz_cons_get_size(), RZ_MAX, rz_panel_t::view, w, rz_panel_pos_t::w, and rz_panel_pos_t::x.
Referenced by __panels_layout().
|
static |
Definition at line 3583 of file panels.c.
References rz_cons_message().
Referenced by __init_panels_menu().
Definition at line 1292 of file panels.c.
References __show_status_input(), free(), input(), NULL, p, rz_core_cmd_str(), rz_str_newf(), and cmd_descs_generate::str.
Referenced by __add_cmdf_panel().
|
static |
Definition at line 5311 of file panels.c.
References i, menus_Colors, and rz_core_theme_list().
Referenced by __init_panels_menu().
|
static |
Definition at line 3111 of file panels.c.
References __create_default_panels(), __init_panels(), __panels_layout(), __set_mode(), rz_panels_menu_t::depth, PANEL_MODE_DEFAULT, rz_core_t::panels, and rz_panels_t::panels_menu.
Referenced by __init_panels_menu().
|
static |
Definition at line 3096 of file panels.c.
References __create_default_panels(), __panels_layout(), __set_curnode(), __set_mode(), rz_panels_menu_t::depth, rz_panels_menu_t::history, rz_panels_menu_item::name, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panels_t::panels_menu, rz_load_panels_layout(), rz_panels_menu_item::selectedIndex, and rz_panels_menu_item::sub.
Referenced by __init_menu_saved_layout().
|
static |
Definition at line 5421 of file panels.c.
References __get_cur_panel(), __set_geometry(), rz_panels_t::can, rz_cons_canvas_t::h, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panel_t::view, and rz_cons_canvas_t::w.
Referenced by __handle_tab_new_with_cur_panel(), __handle_zoom_mode(), and __toggle_zoom_mode().
Definition at line 979 of file panels.c.
References free(), h, rz_panel_t::model, rz_panel_view_t::pos, rz_cons_canvas_gotoxy(), rz_cons_canvas_write(), rz_str_ansi_crop(), create_tags_rz::text, rz_panel_model_t::title, rz_panel_t::view, w, x, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __panel_print().
void __mht_free_kv | ( | HtPPKv * | kv | ) |
Definition at line 4982 of file panels.c.
References __free_menu_item(), and free().
Referenced by __init().
Definition at line 2377 of file panels.c.
References __dismantle_panel(), __move_panel_to_down(), __move_panel_to_left(), __move_panel_to_right(), __move_panel_to_up(), __set_refresh_all(), __show_status(), key, rz_core_t::panels, rz_cons_arrow_to_hjkl(), and src.
Referenced by __panels_process().
Definition at line 2461 of file panels.c.
References __fix_layout(), __get_panel(), __set_curnode(), __set_geometry(), __shrink_panels_forward(), h, i, rz_panels_t::n_panels, rz_panels_t::panel, PANEL_EDGE_BOTTOM, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), src, autogen_x86imm::tmp, rz_panel_t::view, and w.
Referenced by __move_panel_to_dir().
Definition at line 2401 of file panels.c.
References __fix_layout(), __get_panel(), __set_curnode(), __set_geometry(), __shrink_panels_backward(), rz_panels_t::columnWidth, h, i, int, rz_panels_t::n_panels, rz_panels_t::panel, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), src, autogen_x86imm::tmp, rz_panel_t::view, and w.
Referenced by __move_panel_to_dir().
Definition at line 2421 of file panels.c.
References __fix_layout(), __get_panel(), __set_curnode(), __set_geometry(), __shrink_panels_forward(), rz_panels_t::columnWidth, h, i, rz_panels_t::n_panels, rz_panels_t::panel, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), src, autogen_x86imm::tmp, rz_panel_t::view, and w.
Referenced by __move_panel_to_dir().
Definition at line 2442 of file panels.c.
References __fix_layout(), __get_panel(), __set_curnode(), __set_geometry(), __shrink_panels_backward(), h, i, rz_panels_t::n_panels, rz_panels_t::panel, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_get_size(), src, autogen_x86imm::tmp, rz_panel_t::view, and w.
Referenced by __move_panel_to_dir().
Definition at line 5544 of file panels.c.
References __get_cur_panel(), __get_panel(), __set_curnode(), DOWN, rz_panel_pos_t::h, i, LEFT, rz_panels_t::n_panels, p, rz_core_t::panels, rz_panel_view_t::pos, RIGHT, UP, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_window_mode().
|
static |
Definition at line 3074 of file panels.c.
References __add_cmdf_panel(), __file_history_down(), __file_history_up(), rz_core_t::cons, rz_cons_t::line, rz_line_t::prompt_type, rz_line_hist_cmd_down(), rz_line_hist_cmd_up(), RZ_LINE_PROMPT_DEFAULT, RZ_LINE_PROMPT_FILE, and rz_line_set_hist_callback().
Referenced by __init_panels_menu().
|
static |
Definition at line 4065 of file panels.c.
References __draw_menu(), __set_pos(), rz_panels_menu_t::depth, free(), rz_panel_pos_t::h, rz_panels_menu_t::history, rz_panel_t::model, rz_panels_menu_t::n_refresh, rz_panels_menu_item::p, p, PANEL_TYPE_MENU, rz_core_t::panels, rz_panels_t::panels_menu, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panels_menu_t::refreshPanels, rz_panels_menu_t::root, rz_str_bounds(), rz_strbuf_drain(), rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, rz_panel_model_t::title, rz_panel_model_t::type, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __init_menu_disasm_settings_layout(), and __init_panels_menu().
|
static |
Definition at line 1191 of file panels.c.
References __get_panel(), rz_panels_t::can, rz_panel_pos_t::h, i, rz_panels_t::n_panels, NULL, rz_panel_view_t::pos, rz_cons_canvas_fill(), rz_cons_canvas_print(), rz_cons_flush(), rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __do_panels_refresh(), and rz_load_panels_layout().
|
static |
Definition at line 4789 of file panels.c.
References __check_panel_type(), __get_cur_panel(), rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, rz_panel_view_t::refresh, rz_core_debug_breakpoint_toggle(), and rz_panel_t::view.
Referenced by __panels_process().
|
static |
Definition at line 955 of file panels.c.
References __default_panel_print(), __menu_panel_print(), color, rz_core_t::cons, rz_cons_t::context, rz_cons_printable_palette_t::graph_box, rz_cons_printable_palette_t::graph_box2, rz_cons_canvas_t::h, rz_panel_pos_t::h, h, rz_panel_t::model, rz_cons_context_t::pal, PANEL_TYPE_MENU, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_cons_canvas_box(), rz_cons_canvas_fill(), RZ_MIN, rz_panel_view_t::sx, rz_panel_view_t::sy, rz_panel_model_t::type, rz_panel_t::view, w, rz_cons_canvas_t::w, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __panels_refresh().
Definition at line 6179 of file panels.c.
References len, NULL, prompt(), rz_cons_fgets(), and rz_line_set_prompt().
Referenced by __break_points_cb(), __handle_console(), __insert_value(), and __watch_points_cb().
|
static |
Definition at line 4781 of file panels.c.
References rz_core_debug_single_step_in().
Referenced by __panels_process(), and __step_cb().
|
static |
Definition at line 4785 of file panels.c.
References rz_core_debug_single_step_over().
Referenced by __panels_process(), and __step_over_cb().
|
static |
Definition at line 4797 of file panels.c.
References __check_panel_type(), __get_panel(), __set_panel_addr(), rz_core_t::analysis, rz_panel_model_t::baseAddr, rz_panel_model_t::cmd, rz_core_t::config, rz_print_t::cur, i, rz_panel_t::model, rz_panels_t::n_panels, PANEL_CMD_STACK, rz_core_t::panels, rz_core_t::print, rz_analysis_t::reg, rz_config_get_i(), rz_reg_get_name(), rz_reg_getv(), RZ_REG_NAME_SP, sp, and ut64().
Referenced by __panels_layout_refresh().
|
static |
Definition at line 1205 of file panels.c.
References __layout_default(), rz_panels_t::can, rz_cons_canvas_t::sx, and rz_cons_canvas_t::sy.
Referenced by __init_new_panels_root(), __load_layout_default_cb(), and __load_layout_saved_cb().
|
static |
Definition at line 1354 of file panels.c.
References __check_edge(), __del_invalid_panels(), __panels_check_stackbase(), and __panels_refresh().
Referenced by __do_panels_refresh(), and __panels_process().
Definition at line 5520 of file panels.c.
References __init(), firstRun, free(), h, NULL, rz_cons_get_size(), RZ_NEW0, and w.
Referenced by __handle_tab_new_with_cur_panel(), and __init_new_panels_root().
Definition at line 6271 of file panels.c.
References __activate_cursor(), __call_visual_graph(), __check_func(), __check_panel_type(), __check_root_state(), __clear_panels_menu(), __create_almighty(), __create_new_canvas(), __dismantle_del_panel(), __do_panels_refresh(), __do_panels_refreshOneShot(), __get_cur_panel(), __handle_console(), __handle_cursor_mode(), __handle_menu(), __handle_mouse(), __handle_print_rotate(), __handle_refs(), __handle_tab(), __handle_tab_key(), __handle_visual_mark(), __handle_window_mode(), __handle_zoom_mode(), __handleComment(), __hudstuff(), __move_panel_to_dir(), __panel_breakpoint(), __panel_single_step_in(), __panel_single_step_over(), __panels_layout_refresh(), __redo_seek(), __replace_cmd(), __reset_filter(), __rotate_asmemu(), __rotate_panels(), __set_curnode(), __set_filter(), __set_mode(), __set_panel_addr(), __set_refresh_all(), __set_root_state(), __show_status_input(), __show_status_yesno(), __split_panel_horizontal(), __split_panel_vertical(), __swap_panels(), __toggle_cache(), __toggle_help(), __toggle_window_mode(), __toggle_zoom_mode(), __undo_seek(), addr, rz_panel_model_t::addr, rz_panels_t::almighty_db, rz_panels_t::autoUpdate, rz_panel_model_t::cache, rz_panels_t::can, cmd, rz_print_t::col, color, rz_cons_canvas_t::color, rz_core_t::config, rz_core_t::cons, rz_print_t::cur, rz_print_t::cur_enabled, rz_panels_t::curnode, rz_core_t::dbg, DEFAULT, DEL, rz_panel_model_t::directionCb, DOWN, rz_cons_t::event_data, rz_cons_t::event_resize, test-lz4-list::exit, free(), fromVisual, rz_panel_pos_t::h, h, i, key, LEFT, rz_panels_t::mode, rz_panel_t::model, rz_panels_root_t::n_panels, nextOpcode(), NULL, rz_core_t::num, rz_core_t::offset, p, PANEL_CMD_DISASSEMBLY, PANEL_CMD_HEXDUMP, PANEL_MODE_MENU, PANEL_MODE_WINDOW, PANEL_MODE_ZOOM, PANEL_TITLE_DISASSEMBLY, rz_core_t::panels, rz_core_t::panels_root, rz_panel_view_t::pos, prevOpcode(), rz_core_t::print, QUIT, rz_panel_view_t::refresh, repeat(), RIGHT, rz_panels_root_t::root_state, ROTATE, rz_panel_model_t::rotateCb, rz_config_get(), rz_config_get_b(), rz_config_get_i(), rz_config_set_i(), rz_cons_arrow_to_hjkl(), rz_cons_canvas_free(), rz_cons_enable_mouse(), rz_cons_get_size(), rz_cons_is_interactive(), 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_pal_random(), rz_cons_readchar(), rz_cons_set_interactive(), rz_cons_switchbuf(), rz_core_cmd0(), rz_core_debug_continue(), rz_core_reg_set_by_role_or_name(), rz_core_seek(), rz_core_seek_next(), rz_core_seek_prev(), rz_core_theme_nextpal(), rz_core_visual_asm(), rz_core_visual_browse(), rz_core_visual_define(), rz_core_visual_hud(), rz_core_visual_jump(), rz_core_visual_offset(), rz_core_visual_prompt_input(), rz_core_visual_showcursor(), rz_core_visual_toggle_hints(), rz_core_visual_xrefs(), rz_debug_reg_get(), rz_load_panels_layout(), rz_num_get(), rz_num_math(), RZ_STR_ISNOTEMPTY, UP, ut64(), UT64_MAX, rz_panel_t::view, rz_core_t::vmode, w, and rz_panel_pos_t::w.
Referenced by rz_core_visual_panels_root().
|
static |
Definition at line 4639 of file panels.c.
References __get_cur_panel(), __get_panel(), __panel_print(), __refresh_core_offset(), __set_refresh_all(), rz_panels_t::can, color, Color_BLUE, Color_RESET, rz_core_t::config, rz_core_t::cons, rz_cons_t::context, rz_panels_root_t::cur_panels, rz_panels_t::curnode, firstRun, rz_cons_printable_palette_t::graph_box2, h, i, rz_panels_t::mode, rz_panels_t::n_panels, rz_panels_root_t::n_panels, rz_panels_menu_t::n_refresh, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, rz_panels_t::name, NULL, rz_core_t::offset, rz_cons_context_t::pal, PANEL_MODE_MENU, PANEL_MODE_WINDOW, PANEL_MODE_ZOOM, rz_panels_root_t::panels, rz_core_t::panels, rz_panels_t::panels_menu, rz_core_t::panels_root, PFMT64x, rz_panel_view_t::refresh, rz_panels_menu_t::refreshPanels, rz_panels_menu_t::root, rz_config_get_b(), rz_config_set_b(), rz_cons_canvas_fill(), rz_cons_canvas_gotoxy(), rz_cons_canvas_print(), rz_cons_canvas_resize(), rz_cons_canvas_write(), rz_cons_flush(), rz_cons_get_size(), rz_cons_gotoxy(), rz_core_gadget_print(), rz_str_ansi_len(), rz_strbuf_appendf(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_length(), rz_strbuf_new(), rz_strbuf_set(), rz_strbuf_setf(), rz_core_t::scr_gadgets, rz_panels_menu_item::selectedIndex, rz_panels_menu_item::sub, rz_cons_canvas_t::sx, rz_cons_canvas_t::sy, rz_panel_t::view, and w.
Referenced by __panels_layout_refresh().
Definition at line 1417 of file panels.c.
References rz_panel_model_t::cmdStrCache, setup::idx, rz_panel_t::model, NULL, rz_core_t::num, rz_num_math(), RZ_STR_ISNOTEMPTY, rz_strbuf_append_n(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), s, ut64(), and UT64_MAX.
Referenced by __handle_cursor_mode(), and __jmp_to_cursor_addr().
|
static |
Definition at line 3173 of file panels.c.
References rz_core_t::offset, and rz_core_yank_paste().
Referenced by __init_panels_menu().
|
static |
Definition at line 3920 of file panels.c.
References __check_func_diff(), __find_cmd_str_cache(), __handle_cmd_str_cache(), __reset_scroll_pos(), __update_panel_contents(), rz_panels_t::autoUpdate, rz_panel_model_t::cache, cmdstr, rz_panel_model_t::cmdStrCache, rz_panel_t::model, p, rz_core_t::panels, and update().
Referenced by __set_pcb().
|
static |
Definition at line 3934 of file panels.c.
References __check_func_diff(), __find_cmd_str_cache(), __handle_cmd_str_cache(), __reset_scroll_pos(), __update_panel_contents(), rz_panels_t::autoUpdate, rz_panel_model_t::cache, cmdstr, rz_panel_model_t::cmdStrCache, rz_panel_t::model, p, rz_core_t::panels, and update().
Referenced by __set_pcb().
|
static |
Definition at line 3948 of file panels.c.
References __find_cmd_str_cache(), __handle_cmd_str_cache(), __update_panel_contents(), rz_panel_model_t::addr, rz_panel_model_t::cmd, cmdstr, rz_core_t::config, free(), rz_panel_pos_t::h, rz_panel_t::model, rz_core_t::offset, p, rz_panel_view_t::pos, rz_core_t::print, rz_config_get_b(), rz_core_reg_update_flags(), rz_core_seek(), rz_str_newf(), rz_print_t::screen_bounds, ut64(), and rz_panel_t::view.
Referenced by __set_pcb().
|
static |
Definition at line 3972 of file panels.c.
References __check_func_diff(), __do_panels_refreshOneShot(), __find_cmd_str_cache(), __handle_cmd_str_cache(), __update_panel_contents(), rz_panels_t::autoUpdate, cmdstr, rz_core_t::cons, rz_cons_t::event_data, rz_cons_t::event_resize, NULL, p, rz_core_t::panels, and update().
Referenced by __set_pcb().
|
static |
Definition at line 4008 of file panels.c.
References __find_cmd_str_cache(), __handle_cmd_str_cache(), __update_panel_contents(), rz_panel_model_t::addr, rz_panel_model_t::cache, rz_panel_model_t::cmd, cmd, cmdstr, COUNT, hexdump_rotate, i, rz_panel_t::model, n, rz_core_t::offset, p, rz_panel_model_t::rotate, RZ_ABS, rz_core_block_read(), rz_core_seek(), rz_str_append(), rz_str_newf(), rz_str_split(), rz_str_word_get0(), s, and ut64().
Referenced by __set_pcb().
|
static |
Definition at line 3986 of file panels.c.
References __update_panel_contents(), bits(), rz_panel_model_t::cmd, cmd, cmdstr, rz_core_t::config, delta, i, rz_panel_t::model, n, p, PANEL_CMD_STACK, RZ_ABS, rz_config_get_i(), rz_core_cmd_str(), rz_str_append(), rz_str_newf(), rz_str_split(), rz_str_word_get0(), and s.
Referenced by __set_pcb().
|
static |
Definition at line 3517 of file panels.c.
References rz_debug_t::cur, rz_core_t::dbg, rz_debug_plugin_t::name, rz_core_analysis_all(), rz_core_analysis_everything(), and strdup().
Referenced by __init_panels_menu().
|
static |
Definition at line 4965 of file panels.c.
References __break_points_cb().
Referenced by __init_almighty_db().
|
static |
Definition at line 3605 of file panels.c.
References __set_root_state(), and QUIT.
Referenced by __init_panels_menu().
|
static |
Definition at line 5921 of file panels.c.
References __check_panel_type(), __get_cur_panel(), __set_panel_addr(), rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, and rz_core_visual_seek_animation_redo().
Referenced by __panels_process().
|
static |
Definition at line 3563 of file panels.c.
References rz_core_analysis_refs().
Referenced by __init_panels_menu().
|
static |
Definition at line 4631 of file panels.c.
References __check_panel_type(), __get_cur_panel(), rz_panel_model_t::addr, rz_panel_t::model, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, and rz_core_t::panels.
Referenced by __panels_refresh().
|
static |
Definition at line 3498 of file panels.c.
References __update_disassembly_or_open(), and rz_core_file_reopen_debug().
Referenced by __init_panels_menu().
Definition at line 5534 of file panels.c.
References calloc(), rz_panel_model_t::filter, filter(), rz_panel_t::model, n, rz_panel_model_t::n_filter, and NULL.
Referenced by __init_panels(), and __reset_filter().
Definition at line 2810 of file panels.c.
References __cache_white_list(), __free_panel_model(), __get_cur_panel(), __set_cmd_str_cache(), __set_dcb(), __set_panel_addr(), __set_pcb(), __set_rcb(), __set_refresh_all(), rz_panel_model_t::cmd, cmd, rz_panel_t::model, NULL, rz_core_t::offset, PANEL_TYPE_DEFAULT, rz_core_t::panels, RZ_NEW0, rz_str_dup(), rz_panel_model_t::title, and rz_panel_model_t::type.
Referenced by __create_almighty(), __create_panel(), __handle_window_mode(), __panels_process(), and __replace_current_panel_input().
|
static |
Definition at line 4907 of file panels.c.
References __replace_cmd(), __show_status_input(), cmd, free(), and RZ_STR_ISNOTEMPTY.
Referenced by __init_almighty_db().
Definition at line 5912 of file panels.c.
References __renew_filter(), __reset_scroll_pos(), __set_cmd_str_cache(), rz_panel_model_t::filter, free(), rz_panel_t::model, NULL, PANEL_NUM_LIMIT, rz_panel_view_t::refresh, and rz_panel_t::view.
Referenced by __panels_process(), and __rotate_panel_cmds().
|
static |
Definition at line 1136 of file panels.c.
References p.
Referenced by __activate_cursor(), __handle_cursor_mode(), __print_default_cb(), __print_disasmsummary_cb(), __reset_filter(), and __set_filter().
|
static |
Definition at line 2569 of file panels.c.
References __get_cur_panel(), __get_panel(), rz_panels_t::curnode, free(), rz_panel_pos_t::h, i, malloc(), rz_panels_t::n_panels, p, PANEL_CONFIG_RESIZE_H, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_window_mode().
|
static |
Definition at line 2119 of file panels.c.
References __get_cur_panel(), __get_panel(), rz_panels_t::curnode, free(), rz_panel_pos_t::h, i, malloc(), rz_panels_t::n_panels, p, PANEL_CONFIG_RESIZE_W, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_window_mode().
|
static |
Definition at line 2205 of file panels.c.
References __get_cur_panel(), __get_panel(), rz_panels_t::curnode, free(), rz_panel_pos_t::h, i, malloc(), rz_panels_t::n_panels, p, PANEL_CONFIG_RESIZE_W, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_window_mode().
|
static |
Definition at line 2291 of file panels.c.
References __get_cur_panel(), __get_panel(), rz_panels_t::curnode, free(), rz_panel_pos_t::h, i, malloc(), rz_panels_t::n_panels, p, PANEL_CONFIG_RESIZE_H, rz_panel_view_t::pos, rz_panel_view_t::refresh, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_window_mode().
|
static |
Definition at line 5223 of file panels.c.
References __set_geometry(), rz_panel_pos_t::h, rz_panel_view_t::pos, rz_panel_view_t::prevPos, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_zoom_mode(), and __toggle_zoom_mode().
|
static |
Definition at line 3315 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
Definition at line 5930 of file panels.c.
References rz_core_t::config, p, rz_config_get_b(), and rz_config_set().
Referenced by __panels_process(), __rotate_disasm_cb(), and __rotate_hexdump_cb().
|
static |
Definition at line 5810 of file panels.c.
References __get_cur_panel(), __rotate_asmemu(), p, rz_core_t::panels, rev(), and rz_core_visual_applyDisMode().
Referenced by __init_rotate_db().
|
static |
Definition at line 5862 of file panels.c.
References __rotate_panel_cmds(), COUNT, entropy_rotate, and rev().
Referenced by __init_rotate_db().
|
static |
Definition at line 5857 of file panels.c.
References __rotate_panel_cmds(), COUNT, entropy_rotate, and rev().
Referenced by __init_rotate_db().
|
static |
Definition at line 5885 of file panels.c.
References __rotate_panel_cmds(), COUNT, function_rotate, and rev().
Referenced by __init_rotate_db().
|
static |
Definition at line 5867 of file panels.c.
References __get_cur_panel(), __rotate_asmemu(), p, rz_core_t::panels, rev(), and rz_core_visual_applyHexMode().
Referenced by __init_rotate_db().
|
static |
Definition at line 5827 of file panels.c.
References __get_cur_panel(), __reset_filter(), __set_cmd_str_cache(), i, NULL, p, rz_core_t::panels, prefix, replace(), rev(), rz_str_between(), rz_str_dup(), rz_str_replace(), snprintf, and autogen_x86imm::tmp.
Referenced by __rotate_entropy_h_cb(), __rotate_entropy_v_cb(), __rotate_function_cb(), and __rotate_register_cb().
Definition at line 5784 of file panels.c.
References __get_panel(), __set_refresh_all(), i, rz_panel_t::model, rz_panels_t::n_panels, rz_core_t::panels, and rev().
Referenced by __panels_process().
|
static |
Definition at line 5880 of file panels.c.
References __rotate_panel_cmds(), COUNT, PANEL_CMD_REGISTERS, register_rotate, and rev().
Referenced by __init_rotate_db().
|
static |
Definition at line 3084 of file panels.c.
References rz_io_t::desc, rz_io_desc_t::fd, rz_core_t::io, rz_io_desc_t::perm, rz_core_io_file_reopen(), and RZ_PERM_RW.
Referenced by __init_panels_menu().
|
static |
Definition at line 3288 of file panels.c.
References rz_core_visual_prompt_input(), and rz_core_t::vmode.
Referenced by __init_panels_menu().
|
static |
Definition at line 3132 of file panels.c.
References __clear_panels_menu(), __get_cur_panel(), __set_mode(), NULL, PANEL_MODE_DEFAULT, rz_core_t::panels, rz_panel_view_t::refresh, rz_save_panels_layout(), and rz_panel_t::view.
Referenced by __init_panels_menu().
|
static |
Definition at line 5218 of file panels.c.
References __set_geometry(), rz_panel_pos_t::h, rz_panel_view_t::pos, rz_panel_view_t::prevPos, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __handle_zoom_mode(), and __toggle_zoom_mode().
Definition at line 757 of file panels.c.
References rz_panels_t::db, NULL, out, rz_core_t::panels, and sdb_get().
Referenced by __add_cmd_panel(), __create_default_panels(), __handle_cursor_mode(), __search_strings(), and search_db_check_panel_type().
Definition at line 4956 of file panels.c.
References __search_db(), __show_status_input(), free(), PANEL_TITLE_STRINGS_BIN, PANEL_TITLE_STRINGS_DATA, rz_str_newf(), and cmd_descs_generate::str.
Referenced by __search_strings_bin_create(), and __search_strings_data_create().
|
static |
Definition at line 4949 of file panels.c.
References __create_panel(), __search_strings(), free(), and strings().
Referenced by __init_almighty_db().
|
static |
Definition at line 4942 of file panels.c.
References __create_panel(), __search_strings(), free(), and strings().
Referenced by __init_almighty_db().
Definition at line 2882 of file panels.c.
References __get_panel(), addr, rz_panel_model_t::addr, i, rz_panel_t::model, rz_panels_t::n_panels, and rz_core_t::panels.
Referenced by __handle_mouse_on_panel().
Definition at line 2921 of file panels.c.
References __check_panel_type(), __get_panel(), __set_panel_addr(), addr, cmd, i, rz_panels_t::n_panels, p, and rz_core_t::panels.
Referenced by __handle_mouse_on_panel(), and __handle_refs().
Definition at line 5479 of file panels.c.
References __check_panel_type(), rz_core_t::config, rz_print_t::cur, rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::print, rz_panel_view_t::refresh, rz_config_get_b(), rz_core_debug_breakpoint_toggle(), and rz_panel_t::view.
Referenced by __handle_cursor_mode().
Definition at line 885 of file panels.c.
References __set_dcb(), __set_pcb(), free(), p, and s.
Referenced by __activate_cursor(), __add_cmdf_panel(), __handle_cmd_str_cache(), __handle_tab_new_with_cur_panel(), __init_panel_param(), __replace_cmd(), __reset_filter(), __rotate_panel_cmds(), __set_filter(), __set_refresh_all(), __set_refresh_by_type(), and __toggle_cache().
Definition at line 3438 of file panels.c.
References __get_cur_panel(), rz_panels_t::curnode, rz_panel_view_t::curpos, setup::idx, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::sy, and rz_panel_t::view.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __add_help_panel(), __create_default_panels(), __del_panel(), __handle_mouse_on_panel(), __handle_mouse_on_X(), __handle_tab_key(), __load_layout_saved_cb(), __move_panel_to_down(), __move_panel_to_left(), __move_panel_to_right(), __move_panel_to_up(), __move_to_direction(), __panels_process(), __update_disassembly_or_open(), and rz_load_panels_layout().
Definition at line 1376 of file panels.c.
References __get_cur_panel(), __is_abnormal_cursor_type(), rz_print_t::col, rz_print_t::cur, rz_print_t::cur_enabled, p, rz_core_t::panels, and rz_core_t::print.
Referenced by __activate_cursor(), __create_almighty(), __handle_cursor_mode(), __handle_tab_key(), __set_mode(), and __update_disassembly_or_open().
Definition at line 2998 of file panels.c.
References __check_panel_type(), __direction_default_cb(), __direction_disassembly_cb(), __direction_graph_cb(), __direction_hexdump_cb(), __direction_panels_cursor_cb(), __direction_register_cb(), __direction_stack_cb(), __is_abnormal_cursor_type(), p, PANEL_CMD_DISASSEMBLY, PANEL_CMD_GRAPH, PANEL_CMD_HEXDUMP, PANEL_CMD_REGISTERS, and PANEL_CMD_STACK.
Referenced by __init_panel_param(), __replace_cmd(), __set_cmd_str_cache(), and __set_read_only().
Definition at line 5899 of file panels.c.
References __reset_scroll_pos(), __set_cmd_str_cache(), __show_status_input(), rz_panel_model_t::filter, input(), rz_panel_t::model, rz_panel_model_t::n_filter, NULL, rz_panel_view_t::refresh, and rz_panel_t::view.
Referenced by __panels_process().
|
static |
Definition at line 909 of file panels.c.
References __set_pos(), __set_size(), h, pos, w, and x.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __add_help_panel(), __create_almighty(), __layout_default(), __maximize_panel_size(), __move_panel_to_down(), __move_panel_to_left(), __move_panel_to_right(), __move_panel_to_up(), __restore_panel_pos(), __save_panel_pos(), __split_panel_horizontal(), __split_panel_vertical(), __update_disassembly_or_open(), and rz_load_panels_layout().
|
static |
Definition at line 3452 of file panels.c.
References __set_cursor(), __update_help(), rz_panels_t::mode, and rz_core_t::panels.
Referenced by __add_cmd_panel(), __add_cmdf_panel(), __handle_menu(), __handle_mouse_on_menu(), __handle_mouse_on_top(), __handle_mouse_on_X(), __handle_tab_key(), __handle_tab_new_with_cur_panel(), __init_new_panels_root(), __io_cache_off_cb(), __io_cache_on_cb(), __load_layout_default_cb(), __load_layout_saved_cb(), __panels_process(), __save_layout_cb(), __toggle_help(), __toggle_window_mode(), and __toggle_zoom_mode().
Definition at line 914 of file panels.c.
References addr, rz_panel_model_t::addr, and rz_panel_t::model.
Referenced by __direction_disassembly_cb(), __direction_hexdump_cb(), __handle_cursor_mode(), __handle_refs(), __handle_visual_mark(), __handlePrompt(), __hudstuff(), __init_panel_param(), __panels_check_stackbase(), __panels_process(), __redo_seek(), __replace_cmd(), __set_addr_by_type(), __undo_seek(), and __update_disassembly_or_open().
|
static |
Definition at line 3043 of file panels.c.
References __check_panel_type(), __print_default_cb(), __print_disasmsummary_cb(), __print_disassembly_cb(), __print_graph_cb(), __print_hexdump_cb(), __print_stack_cb(), p, PANEL_CMD_DISASMSUMMARY, PANEL_CMD_DISASSEMBLY, PANEL_CMD_GRAPH, PANEL_CMD_HEXDUMP, PANEL_CMD_STACK, and PANEL_CMD_TINYGRAPH.
Referenced by __init_panel_param(), __replace_cmd(), __set_cmd_str_cache(), and __set_read_only().
|
static |
Definition at line 899 of file panels.c.
Referenced by __init_modal(), __open_menu_cb(), and __set_geometry().
Definition at line 3028 of file panels.c.
References __check_panel_type(), key, ls_foreach, ls_free(), p, rz_panels_t::rotate_db, sdb_foreach_list(), sdb_ptr_get(), and sdbkv_key().
Referenced by __init_panel_param(), and __replace_cmd().
Definition at line 892 of file panels.c.
References __set_dcb(), __set_pcb(), free(), p, rz_str_new(), and s.
Referenced by __init_panel_param(), __update_help(), and rz_load_panels_layout().
Definition at line 2891 of file panels.c.
References __check_panel_type(), __get_panel(), __set_cmd_str_cache(), i, rz_panels_t::n_panels, NULL, PANEL_CMD_CONSOLE, rz_core_t::panels, rz_panel_view_t::refresh, and rz_panel_t::view.
Referenced by __handle_mouse_on_panel(), __handle_mouse_on_X(), __move_panel_to_dir(), __panels_process(), __panels_refresh(), __replace_cmd(), __rotate_panels(), __split_panel_horizontal(), __split_panel_vertical(), and rz_load_panels_layout().
Definition at line 2906 of file panels.c.
References __check_panel_type(), __get_panel(), __set_cmd_str_cache(), cmd, i, rz_panels_t::n_panels, NULL, p, and rz_core_t::panels.
Referenced by __handleComment().
|
static |
Definition at line 6024 of file panels.c.
References rz_core_t::panels_root, and rz_panels_root_t::root_state.
Referenced by __handle_tab(), __handle_tab_new_with_cur_panel(), __handle_tab_next(), __handle_tab_nth(), __handle_tab_prev(), __panels_process(), __quit_cb(), and rz_core_visual_panels_root().
|
static |
|
static |
Definition at line 3203 of file panels.c.
References __init_menu_color_settings_layout(), __update_menu(), rz_panels_menu_t::depth, rz_panels_menu_t::history, i, rz_panels_menu_item::name, NULL, rz_panels_menu_item::p, p, rz_core_t::panels, rz_panels_t::panels_menu, rz_panels_menu_t::refreshPanels, rz_core_theme_load(), rz_str_ansi_filter(), rz_panels_menu_item::selectedIndex, and rz_panels_menu_item::sub.
Referenced by __init_menu_color_settings_layout().
Definition at line 769 of file panels.c.
References Color_RESET, rz_core_t::cons, rz_cons_t::context, rz_cons_printable_palette_t::graph_box2, msg, rz_cons_context_t::pal, RZ_CONS_CLEAR_LINE, rz_cons_flush(), rz_cons_gotoxy(), rz_cons_printf(), and rz_cons_readchar().
Referenced by __activate_cursor(), __add_visual_mark(), __apply_filter_cmd(), __check_panel_num(), __handle_refs(), __handle_visual_mark(), __insert_value(), __io_cache_off_cb(), __io_cache_on_cb(), __move_panel_to_dir(), rz_load_panels_layout(), and rz_save_panels_layout().
Definition at line 782 of file panels.c.
References Color_RESET, rz_core_t::cons, rz_cons_t::context, free(), rz_cons_printable_palette_t::graph_box2, msg, out, rz_cons_context_t::pal, RZ_CONS_CLEAR_LINE, rz_cons_flush(), rz_cons_gotoxy(), rz_cons_input(), and rz_str_newf().
Referenced by __calculator_cb(), __config_value_cb(), __create_almighty(), __create_panel_input(), __esil_step_range_cb(), __esil_step_to_cb(), __handle_tab_name(), __handle_window_mode(), __load_cmdf(), __panels_process(), __replace_current_panel_input(), __search_strings(), __set_filter(), __writeValueCb(), and rz_save_panels_layout().
Definition at line 776 of file panels.c.
References Color_RESET, rz_core_t::cons, rz_cons_t::context, def(), rz_cons_printable_palette_t::graph_box2, msg, rz_cons_context_t::pal, RZ_CONS_CLEAR_LINE, rz_cons_flush(), rz_cons_gotoxy(), and rz_cons_yesno().
Referenced by __activate_cursor(), __clear_layout_cb(), __insert_value(), and __panels_process().
Definition at line 738 of file panels.c.
References i, rz_panels_t::panel, and rz_core_t::panels.
Referenced by __move_panel_to_left(), and __move_panel_to_up().
Definition at line 730 of file panels.c.
References i, rz_panels_t::n_panels, rz_panels_t::panel, and rz_core_t::panels.
Referenced by __move_panel_to_down(), and __move_panel_to_right().
Definition at line 4540 of file panels.c.
References cmpstr(), count, i, list(), rz_list_append(), rz_list_new(), and rz_list_sort().
Referenced by __init_menu_color_settings_layout(), __init_menu_disasm_asm_settings_layout(), __init_menu_disasm_settings_layout(), and __init_panels_menu().
|
static |
Definition at line 1338 of file panels.c.
References __check_panel_num(), __fix_layout(), __get_panel(), __insert_panel(), __set_geometry(), __set_refresh_all(), cmd, rz_panels_t::curnode, p, rz_core_t::panels, rz_panel_view_t::pos, and rz_panel_t::view.
Referenced by __create_panel(), __handle_mouse(), and __panels_process().
|
static |
Definition at line 1323 of file panels.c.
References __check_panel_num(), __fix_layout(), __get_panel(), __insert_panel(), __set_geometry(), __set_refresh_all(), cmd, rz_panels_t::curnode, p, rz_core_t::panels, rz_panel_view_t::pos, and rz_panel_t::view.
Referenced by __create_panel(), __handle_mouse(), and __panels_process().
|
static |
Definition at line 4974 of file panels.c.
References __step_cb().
Referenced by __init_almighty_db().
|
static |
Definition at line 3375 of file panels.c.
References __panel_single_step_in(), and __update_disassembly_or_open().
Referenced by __init_panels_menu(), and __step_almighty_cb().
|
static |
Definition at line 4978 of file panels.c.
References __step_over_cb().
Referenced by __init_almighty_db().
|
static |
Definition at line 3382 of file panels.c.
References __panel_single_step_over(), and __update_disassembly_or_open().
Referenced by __init_panels_menu(), and __step_over_almighty_cb().
|
static |
Definition at line 3309 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
|
static |
Definition at line 3303 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
Definition at line 2827 of file panels.c.
References __get_panel(), rz_panel_t::model, and autogen_x86imm::tmp.
Referenced by __panels_process().
|
static |
Definition at line 3511 of file panels.c.
References rz_core_analysis_all().
Referenced by __init_panels_menu().
|
static |
Definition at line 3296 of file panels.c.
References rz_cons_flush(), rz_cons_set_raw(), and rz_sys_xsystem.
Referenced by __init_panels_menu().
Definition at line 5453 of file panels.c.
References __set_cmd_str_cache(), NULL, and p.
Referenced by __handle_mouse_on_X(), and __panels_process().
|
static |
Definition at line 5459 of file panels.c.
References __add_help_panel(), __dismantle_del_panel(), __get_panel(), __set_mode(), __update_help(), i, rz_panels_t::mode, rz_panels_t::n_panels, p, PANEL_MODE_DEFAULT, PANEL_MODE_MENU, rz_core_t::panels, and rz_str_endswith().
Referenced by __handle_menu(), __handle_zoom_mode(), __help_cb(), and __panels_process().
|
static |
Definition at line 5442 of file panels.c.
References __set_mode(), rz_panels_t::mode, PANEL_MODE_DEFAULT, PANEL_MODE_WINDOW, rz_core_t::panels, and rz_panels_t::prevMode.
Referenced by __handle_cursor_mode(), __handle_window_mode(), and __panels_process().
|
static |
Definition at line 5427 of file panels.c.
References __get_cur_panel(), __maximize_panel_size(), __restore_panel_pos(), __save_panel_pos(), __set_mode(), rz_panels_t::mode, PANEL_MODE_DEFAULT, PANEL_MODE_ZOOM, rz_core_t::panels, and rz_panels_t::prevMode.
Referenced by __handle_window_mode(), __handle_zoom_mode(), and __panels_process().
|
static |
Definition at line 5890 of file panels.c.
References __check_panel_type(), __get_cur_panel(), __set_panel_addr(), rz_core_t::offset, PANEL_CMD_DISASSEMBLY, rz_core_t::panels, and rz_core_visual_seek_animation_undo().
Referenced by __panels_process().
|
static |
Definition at line 3405 of file panels.c.
References __check_panel_type(), __get_panel(), __insert_panel(), __set_curnode(), __set_cursor(), __set_geometry(), __set_panel_addr(), rz_panel_pos_t::h, h0, i, rz_panels_t::n_panels, rz_core_t::offset, p, PANEL_CMD_DISASSEMBLY, PANEL_TITLE_DISASSEMBLY, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, rz_panel_pos_t::w, w0, w1, rz_panel_pos_t::x, x0, x1, and rz_panel_pos_t::y.
Referenced by __continue_almighty_cb(), __jmp_to_cursor_addr(), __reload_cb(), __step_cb(), and __step_over_cb().
Definition at line 614 of file panels.c.
References __get_panel(), i, rz_panels_t::mouse_orig_x, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, rz_panel_pos_t::w, x, and rz_panel_pos_t::x.
Referenced by __drag_and_resize().
Definition at line 635 of file panels.c.
References __get_panel(), rz_panel_pos_t::h, i, rz_panels_t::mouse_orig_y, rz_panels_t::n_panels, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_t::view, and rz_panel_pos_t::y.
Referenced by __drag_and_resize().
Definition at line 3459 of file panels.c.
References __get_panel(), __set_read_only(), cmd, free(), help_msg_panels, help_msg_panels_window, help_msg_panels_zoom, i, rz_panels_t::mode, msg, rz_panels_t::n_panels, NULL, p, PANEL_MODE_WINDOW, PANEL_MODE_ZOOM, rz_core_visual_append_help(), rz_str_dup(), rz_str_endswith(), rz_strbuf_drain(), and rz_strbuf_new().
Referenced by __set_mode(), and __toggle_help().
Definition at line 990 of file panels.c.
References rz_panels_t::can, free(), rz_panel_pos_t::h, h, setup::idx, rz_panel_t::model, NULL, rz_core_t::panels, rz_panel_view_t::pos, rz_panel_model_t::readOnly, rz_cons_canvas_gotoxy(), rz_cons_canvas_write(), RZ_MAX, RZ_MIN, rz_str_ansi_crop(), rz_str_pad(), rz_str_prefix_all(), rz_panel_view_t::sx, rz_panel_view_t::sy, create_tags_rz::text, rz_panel_t::view, w, rz_panel_pos_t::w, x, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __default_panel_print().
Definition at line 1023 of file panels.c.
References __check_if_cur_panel(), rz_panels_t::can, Color_RESET, rz_core_t::cons, rz_cons_t::context, rz_cons_printable_palette_t::graph_box2, rz_panel_t::model, NULL, rz_cons_context_t::pal, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_canvas_gotoxy(), rz_cons_canvas_write(), rz_str_ansi_len(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_strbuf_setf(), rz_panel_model_t::title, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __default_panel_print().
|
static |
Definition at line 4133 of file panels.c.
References __update_menu_contents(), addr, cb, i, rz_panels_t::mht, rz_panels_menu_item::n_sub, rz_panels_menu_item::name, NULL, rz_core_t::panels, rz_panels_t::panels_menu, sdb_fmt(), and rz_panels_menu_item::sub.
Referenced by __clear_layout_cb(), __config_toggle_cb(), __config_value_cb(), __settings_colors_cb(), and rz_save_panels_layout().
|
static |
Definition at line 4181 of file panels.c.
References __draw_menu(), free(), rz_panels_menu_t::n_refresh, rz_panels_menu_item::p, p, PANEL_TYPE_MENU, rz_panels_menu_t::refreshPanels, rz_str_bounds(), and rz_strbuf_drain().
Referenced by __handle_menu(), __handle_mouse_on_menu(), and __update_menu().
Definition at line 5600 of file panels.c.
References __draw_modal(), rz_panels_t::can, rz_core_t::cons, rz_cons_t::context, count, RModal::data, rz_cons_printable_palette_t::graph_box2, rz_panel_pos_t::h, i, RModal::idx, ls_foreach, NULL, RModal::offset, rz_cons_context_t::pal, rz_core_t::panels, RModal::pos, rz_cons_canvas_box(), rz_cons_canvas_fill(), rz_cons_canvas_gotoxy(), rz_cons_canvas_print(), rz_cons_canvas_write(), rz_cons_flush(), rz_cons_gotoxy(), RZ_MAX, RZ_MIN, rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), sdb_count(), sdb_foreach_list(), sdbkv_key(), rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __create_almighty().
Definition at line 1046 of file panels.c.
References __check_panel_type(), __is_abnormal_cursor_type(), b, rz_panels_t::can, cmdstr, rz_print_t::cur_enabled, rz_panel_view_t::curpos, free(), rz_cons_canvas_t::h, rz_panel_pos_t::h, h, setup::idx, NULL, PANEL_CMD_GRAPH, rz_core_t::panels, rz_panel_view_t::pos, rz_core_t::print, rz_cons_canvas_gotoxy(), rz_cons_canvas_write(), RZ_MAX, RZ_MIN, rz_str_ansi_crop(), rz_str_pad(), rz_str_prefix_all(), rz_panel_view_t::sx, rz_panel_view_t::sy, create_tags_rz::text, rz_panel_t::view, w, rz_cons_canvas_t::w, rz_panel_pos_t::w, x, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __print_default_cb(), __print_disasmsummary_cb(), __print_disassembly_cb(), __print_graph_cb(), __print_hexdump_cb(), and __print_stack_cb().
Definition at line 1090 of file panels.c.
References __apply_filter_cmd(), __check_if_cur_panel(), rz_panel_model_t::cache, rz_panels_t::can, Color_RESET, rz_core_t::cons, rz_cons_t::context, free(), rz_cons_printable_palette_t::graph_box2, rz_panel_t::model, NULL, rz_cons_context_t::pal, rz_core_t::panels, rz_panel_view_t::pos, rz_cons_canvas_gotoxy(), rz_cons_canvas_write(), rz_str_ansi_len(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_new(), rz_strbuf_setf(), rz_strbuf_slice(), rz_panel_model_t::title, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __default_panel_print().
|
static |
Definition at line 3588 of file panels.c.
References free(), NULL, rz_cons_message(), rz_str_version(), and v.
Referenced by __init_panels_menu().
|
static |
Definition at line 3551 of file panels.c.
References __panel_prompt(), addr, rz_core_t::config, rz_core_t::num, rz_config_get_b(), rz_core_debug_bp_add(), rz_num_math(), and ut64().
Referenced by __init_panels_menu().
|
static |
Definition at line 3185 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
|
static |
Definition at line 3179 of file panels.c.
References __add_cmdf_panel().
Referenced by __init_panels_menu().
int __writeValueCb | ( | void * | user | ) |
Definition at line 3595 of file panels.c.
References __show_status_input(), free(), and rz_core_cmdf().
Referenced by __init_panels_menu().
Definition at line 6185 of file panels.c.
References rz_panels_t::can, test_evm::cs, free(), NULL, pos, R, r, rz_cons_canvas_to_string(), rz_str_ansi_crop(), rz_str_ansi_filter(), rz_str_rsep(), rz_str_sep(), rz_strbuf_fini(), rz_strbuf_get(), rz_strbuf_init(), rz_strbuf_setf(), sp, strdup(), TOkENs, and x.
Referenced by __handle_mouse_on_panel(), __handle_mouse_on_top(), and __handle_mouse_on_X().
Definition at line 6217 of file panels.c.
References rz_panels_t::can, test_evm::cs, free(), i, NULL, pos, R, r, rz_cons_canvas_to_string(), rz_str_ansi_crop(), rz_str_ansi_filter(), RZ_STR_ISNOTEMPTY, rz_str_newlen(), strdup(), autogen_x86imm::tmp, and x.
Referenced by __create_almighty(), and __handle_mouse_on_menu().
|
static |
Definition at line 6249 of file panels.c.
References rz_print_t::cur, rz_core_t::offset, p, rz_core_t::print, rz_analysis_op_free(), RZ_ANALYSIS_OP_MASK_BASIC, rz_core_analysis_op(), and rz_analysis_op_t::size.
Referenced by __panels_process().
|
static |
Definition at line 6260 of file panels.c.
References addr, rz_print_t::cur, delta, rz_core_t::offset, p, rz_core_t::print, rz_core_prevop_addr(), and ut64().
Referenced by __panels_process().
RZ_API bool rz_core_visual_panels_root | ( | RzCore * | core, |
RzPanelsRoot * | panels_root | ||
) |
Definition at line 5947 of file panels.c.
References __check_root_state(), __del_panels(), __get_panel(), __init_new_panels_root(), __panels_process(), __set_root_state(), rz_panel_model_t::addr, calloc(), rz_core_t::config, rz_panels_root_t::cur_panels, DEFAULT, DEL, fromVisual, i, rz_panel_t::model, rz_panels_t::n_panels, rz_panels_root_t::n_panels, rz_core_t::offset, PANEL_NUM_LIMIT, rz_panels_root_t::panels, rz_core_t::panels_root, QUIT, rz_config_get(), rz_cons_enable_mouse(), rz_core_visual(), rz_load_panels_layout(), RZ_NEW0, and rz_core_t::vmode.
Referenced by rz_cmd_panels(), rz_core_visual_cmd(), rz_core_visual_graph(), and visual_help().
Definition at line 5321 of file panels.c.
References __get_panel(), __get_panels_config_file_from_dir(), __init_panel_param(), __panel_all_clear(), __set_curnode(), __set_geometry(), __set_read_only(), __set_refresh_all(), __show_status(), rz_json_t::children, cmd, config_path(), eprintf, free(), h, help_msg_panels, rz_json_t::key, rz_panels_t::n_panels, rz_json_t::next, NULL, rz_json_t::num, p, rz_core_t::panels, rz_core_visual_append_help(), rz_file_slurp(), RZ_JSON_ARRAY, rz_json_free(), RZ_JSON_INTEGER, RZ_JSON_OBJECT, rz_json_parse(), RZ_JSON_STRING, rz_str_dup(), rz_str_endswith(), rz_str_newf(), rz_strbuf_drain(), rz_strbuf_new(), rz_json_t::str_value, autogen_x86imm::tmp, rz_json_t::type, w, and x.
Referenced by __load_layout_saved_cb(), __panels_process(), rz_cmd_panels(), and rz_core_visual_panels_root().
Definition at line 5270 of file panels.c.
References __create_panels_config_path(), __get_panel(), __init_menu_saved_layout(), __show_status(), __show_status_input(), __update_menu(), rz_panel_model_t::cmd, config_path(), fd, benchmark::FILE, free(), rz_panel_pos_t::h, i, rz_panel_t::model, rz_panels_t::n_panels, rz_core_t::panels, pj_a(), pj_drain(), pj_end(), pj_kn(), pj_ks(), pj_new(), pj_o(), rz_panel_view_t::pos, RZ_STR_ISEMPTY, rz_sys_fopen(), rz_panel_model_t::title, rz_panel_t::view, rz_panel_pos_t::w, rz_panel_pos_t::x, and rz_panel_pos_t::y.
Referenced by __save_layout_cb(), and rz_cmd_panels().
Definition at line 842 of file panels.c.
References __check_panel_type(), __search_db(), free(), and cmd_descs_generate::str.
Referenced by __is_abnormal_cursor_type().
|
static |
Definition at line 183 of file panels.c.
Referenced by __cache_white_list().
|
static |
Definition at line 163 of file panels.c.
Referenced by __rotate_entropy_h_cb(), and __rotate_entropy_v_cb().
Definition at line 48 of file panels.c.
Referenced by __panels_new(), and __panels_refresh().
Definition at line 5945 of file panels.c.
Referenced by __panels_process(), and rz_core_visual_panels_root().
|
static |
Definition at line 178 of file panels.c.
Referenced by __rotate_function_cb().
|
static |
Definition at line 188 of file panels.c.
Referenced by __update_help(), and rz_load_panels_layout().
|
static |
Definition at line 236 of file panels.c.
Referenced by __update_help().
|
static |
Definition at line 256 of file panels.c.
Referenced by __update_help().
|
static |
Definition at line 168 of file panels.c.
Referenced by __check_panel_type(), and __print_hexdump_cb().
|
static |
Definition at line 67 of file panels.c.
Referenced by __handle_mouse_on_top(), and __init_panels_menu().
|
static |
Definition at line 133 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 138 of file panels.c.
Referenced by __init_menu_color_settings_layout(), and __load_config_menu().
|
static |
Definition at line 126 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 93 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 121 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 73 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 156 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 98 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 88 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 83 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 116 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 78 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 140 of file panels.c.
Referenced by __init_menu_disasm_settings_layout().
|
static |
Definition at line 145 of file panels.c.
Referenced by __init_menu_disasm_asm_settings_layout().
|
static |
Definition at line 151 of file panels.c.
Referenced by __init_menu_screen_settings_layout().
|
static |
Definition at line 111 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 103 of file panels.c.
Referenced by __init_panels_menu().
|
static |
Definition at line 57 of file panels.c.
Referenced by __create_default_panels().
|
static |
Definition at line 62 of file panels.c.
Referenced by __create_default_panels().
|
static |
Definition at line 173 of file panels.c.
Referenced by __rotate_register_cb().