Rizin
unix-like reverse engineering framework and cli tools
rz_cons_t Struct Reference

#include <rz_cons.h>

Public Attributes

RzConsContextcontext
 
RzConsInputContextinput
 
char * lastline
 
bool is_html
 
bool was_html
 
int lines
 
int rows
 
int echo
 
int columns
 
int force_rows
 
int force_columns
 
int fix_rows
 
int fix_columns
 
bool break_lines
 
bool show_autocomplete_widget
 
FILE * fdin
 
int fdout
 
const char * teefile
 
int(* user_fgets )(char *buf, int len, void *user)
 
void * user_fgets_user
 
RzConsEvent event_resize
 
void * event_data
 
int mouse_event
 
RzConsEditorCallback cb_editor
 
RzConsBreakCallback cb_break
 
RzConsSleepBeginCallback cb_sleep_begin
 
RzConsSleepEndCallback cb_sleep_end
 
RzConsClickCallback cb_click
 
RzConsQueueTaskOneshot cb_task_oneshot
 
RzConsFunctionKey cb_fkey
 
void * user
 
RzNumnum
 
char * pager
 
int blankline
 
char * highlight
 
bool enable_highlight
 
int null
 
int mouse
 
int is_wine
 
struct rz_line_tline
 
const char ** vline
 
int refcnt
 
RZ_DEPRECATE bool newline
 
RzVirtTermMode vtmode
 
bool flush
 
bool use_utf8
 
bool use_utf8_curvy
 
bool dotted_lines
 
int linesleep
 
int pagesize
 
char * break_word
 
int break_word_len
 
ut64 timeout
 
bool grep_color
 
bool grep_highlight
 
bool filter
 
char *(* rgbstr )(char *str, size_t sz, ut64 addr)
 
bool click_set
 
int click_x
 
int click_y
 
bool show_vals
 

Detailed Description

Definition at line 501 of file rz_cons.h.

Member Data Documentation

◆ blankline

int rz_cons_t::blankline

Definition at line 547 of file rz_cons.h.

Referenced by visual_refresh().

◆ break_lines

bool rz_cons_t::break_lines

Definition at line 515 of file rz_cons.h.

Referenced by cb_breaklines().

◆ break_word

char* rz_cons_t::break_word

Definition at line 564 of file rz_cons.h.

◆ break_word_len

int rz_cons_t::break_word_len

Definition at line 565 of file rz_cons.h.

◆ cb_break

RzConsBreakCallback rz_cons_t::cb_break

Definition at line 527 of file rz_cons.h.

Referenced by rz_core_bind_cons().

◆ cb_click

RzConsClickCallback rz_cons_t::cb_click

Definition at line 530 of file rz_cons.h.

◆ cb_editor

RzConsEditorCallback rz_cons_t::cb_editor

Definition at line 526 of file rz_cons.h.

Referenced by rz_core_bind_cons().

◆ cb_fkey

RzConsFunctionKey rz_cons_t::cb_fkey

Definition at line 532 of file rz_cons.h.

Referenced by rz_core_bind_cons(), rz_core_init(), and rz_line_set_prompt().

◆ cb_sleep_begin

RzConsSleepBeginCallback rz_cons_t::cb_sleep_begin

Definition at line 528 of file rz_cons.h.

Referenced by rz_core_bind_cons().

◆ cb_sleep_end

RzConsSleepEndCallback rz_cons_t::cb_sleep_end

Definition at line 529 of file rz_cons.h.

Referenced by rz_core_bind_cons().

◆ cb_task_oneshot

RzConsQueueTaskOneshot rz_cons_t::cb_task_oneshot

Definition at line 531 of file rz_cons.h.

Referenced by rz_core_bind_cons(), and selection_widget_erase().

◆ click_set

bool rz_cons_t::click_set

Definition at line 571 of file rz_cons.h.

◆ click_x

int rz_cons_t::click_x

Definition at line 572 of file rz_cons.h.

◆ click_y

int rz_cons_t::click_y

Definition at line 573 of file rz_cons.h.

◆ columns

◆ context

RzConsContext* rz_cons_t::context

Definition at line 502 of file rz_cons.h.

Referenced by __draw_menu(), __draw_modal(), __handle_tab(), __init_menu_color_settings_layout(), __panel_print(), __panels_refresh(), __print_prompt(), __show_status(), __show_status_input(), __show_status_yesno(), __update_help_title(), __update_modal(), __update_panel_title(), __update_prompt_color(), agraph_sdb_init(), annotated_hexdump(), apply_line_style(), argv_get_help(), cb_cmddepth(), cb_color(), cb_color_getter(), cb_scrint(), cb_scrlast(), cmd_print_pxA(), core_analysis_bytes_esil(), core_analysis_bytes_standard(), core_cmp_bits(), core_print_columns(), DEFINE_HANDLE_TS_FCN(), disasm_strings(), disasm_until_ret(), disassemble_till_return_is_found(), do_print_child_help(), ds_init(), fill_colored_args(), fill_details_do(), fill_usage_strbuf(), fill_wrapped_comment(), get_node_color(), get_reg_color(), jemalloc_get_bins(), jemalloc_get_chunks(), jemalloc_print_narenas(), parse_grep_expression(), print_arena_stats(), print_bin_content(), print_debug_maps_ascii_art(), print_double_linked_list_bin(), print_double_linked_list_bin_graph(), print_double_linked_list_bin_simple(), print_heap_bin(), print_heap_chunk(), print_heap_chunk_simple(), print_heap_fastbin(), print_inst_minfo(), print_largebin_description(), print_malloc_info(), print_malloc_states(), print_smallbin_description(), print_tcache_content(), print_unsortedbin_description(), printVarSummary(), rizin_compare_words(), run_cmd_depth(), rz_analysis_reflines_str(), rz_cmd_arena_print_handler(), rz_cmd_disassemble_ropchain_handler(), rz_cmd_eval_color_set_default_palette_handler(), rz_cmd_heap_arena_bins_print_handler(), rz_cmd_heap_bins_list_print(), rz_cmd_heap_chunks_print_handler(), rz_cmd_heap_fastbins_print(), rz_cmd_heap_info_print_handler(), rz_cmd_main_arena_print_handler(), rz_cons_cmd_help(), rz_cons_fgets(), rz_cons_grep_line(), rz_cons_grepbuf(), rz_cons_less(), rz_cons_rainbow_get(), rz_cons_set_interactive(), rz_cons_set_last_interactive(), rz_core_analysis_data(), rz_core_analysis_hasrefs_to_depth(), rz_core_analysis_optype_colorfor(), rz_core_cmd_foreach(), rz_core_cmd_lastcmd_repeat(), rz_core_cmd_nullcallback(), rz_core_cmd_subst(), rz_core_cmp_disasm_print(), rz_core_fgets(), rz_core_rtr_rap_run(), rz_core_theme_load(), rz_core_visual_analysis_refresh(), rz_core_visual_append_help(), rz_core_visual_bit_editor(), rz_core_visual_colors(), rz_core_visual_hud(), rz_core_visual_title(), rz_core_vmenu_append_help(), rz_core_wait(), rz_diff_hex_visual(), rz_heap_chunks_list(), rz_main_rz_agent(), rz_main_rz_bin(), rz_print_offset_sg(), selection_widget_draw(), show_class(), and var_functions_show().

◆ dotted_lines

bool rz_cons_t::dotted_lines

Definition at line 561 of file rz_cons.h.

Referenced by cb_dotted().

◆ echo

int rz_cons_t::echo

Definition at line 509 of file rz_cons.h.

Referenced by cb_screcho(), and rz_cons_fgets().

◆ enable_highlight

bool rz_cons_t::enable_highlight

Definition at line 549 of file rz_cons.h.

◆ event_data

◆ event_resize

◆ fdin

FILE* rz_cons_t::fdin

Definition at line 517 of file rz_cons.h.

Referenced by rz_cons_fgets().

◆ fdout

int rz_cons_t::fdout

Definition at line 518 of file rz_cons.h.

◆ filter

bool rz_cons_t::filter

Definition at line 569 of file rz_cons.h.

Referenced by parse_grep_expression(), and rz_cons_grepbuf().

◆ fix_columns

int rz_cons_t::fix_columns

Definition at line 514 of file rz_cons.h.

Referenced by cb_fixcolumns().

◆ fix_rows

int rz_cons_t::fix_rows

Definition at line 513 of file rz_cons.h.

Referenced by cb_fixrows().

◆ flush

bool rz_cons_t::flush

Definition at line 558 of file rz_cons.h.

Referenced by cb_scrflush().

◆ force_columns

int rz_cons_t::force_columns

Definition at line 512 of file rz_cons.h.

Referenced by cb_scrcolumns().

◆ force_rows

int rz_cons_t::force_rows

Definition at line 511 of file rz_cons.h.

Referenced by cb_rows().

◆ grep_color

bool rz_cons_t::grep_color

Definition at line 567 of file rz_cons.h.

Referenced by cb_scr_color_grep(), and rz_cons_grepbuf().

◆ grep_highlight

bool rz_cons_t::grep_highlight

Definition at line 568 of file rz_cons.h.

Referenced by cb_scr_color_grep_highlight(), and rz_cons_grepbuf().

◆ highlight

char* rz_cons_t::highlight

Definition at line 548 of file rz_cons.h.

◆ input

RzConsInputContext* rz_cons_t::input

Definition at line 503 of file rz_cons.h.

◆ is_html

◆ is_wine

int rz_cons_t::is_wine

Definition at line 552 of file rz_cons.h.

◆ lastline

char* rz_cons_t::lastline

Definition at line 504 of file rz_cons.h.

◆ line

◆ lines

int rz_cons_t::lines

Definition at line 507 of file rz_cons.h.

Referenced by rz_cons_grep_line(), and rz_cons_grepbuf().

◆ linesleep

int rz_cons_t::linesleep

Definition at line 562 of file rz_cons.h.

Referenced by cb_scrlinesleep().

◆ mouse

int rz_cons_t::mouse

Definition at line 551 of file rz_cons.h.

Referenced by __holdMouseState(), and rz_line_readline_cb().

◆ mouse_event

int rz_cons_t::mouse_event

Definition at line 524 of file rz_cons.h.

Referenced by rz_core_visual_graph(), and rz_line_readline_cb().

◆ newline

RZ_DEPRECATE bool rz_cons_t::newline

Definition at line 556 of file rz_cons.h.

Referenced by printraw().

◆ null

int rz_cons_t::null

Definition at line 550 of file rz_cons.h.

Referenced by cb_scrnull(), func_walk_blocks(), and pr_bb().

◆ num

RzNum* rz_cons_t::num

Definition at line 543 of file rz_cons.h.

Referenced by parse_grep_expression(), rz_cons_grepbuf(), and rz_core_bind_cons().

◆ pager

char* rz_cons_t::pager

Definition at line 546 of file rz_cons.h.

Referenced by cb_pager().

◆ pagesize

int rz_cons_t::pagesize

Definition at line 563 of file rz_cons.h.

Referenced by cb_scrpagesize().

◆ refcnt

int rz_cons_t::refcnt

Definition at line 555 of file rz_cons.h.

Referenced by rz_core_init().

◆ rgbstr

char*(* rz_cons_t::rgbstr) (char *str, size_t sz, ut64 addr)

Definition at line 570 of file rz_cons.h.

◆ rows

◆ show_autocomplete_widget

bool rz_cons_t::show_autocomplete_widget

Definition at line 516 of file rz_cons.h.

Referenced by cb_scr_prompt_popup(), and rz_line_autocomplete().

◆ show_vals

bool rz_cons_t::show_vals

Definition at line 574 of file rz_cons.h.

Referenced by rz_core_visual_analysis().

◆ teefile

const char* rz_cons_t::teefile

Definition at line 519 of file rz_cons.h.

Referenced by cb_teefile(), rz_core_fini(), and rz_core_visual().

◆ timeout

ut64 rz_cons_t::timeout

Definition at line 566 of file rz_cons.h.

◆ use_utf8

◆ use_utf8_curvy

bool rz_cons_t::use_utf8_curvy

◆ user

void* rz_cons_t::user

Definition at line 534 of file rz_cons.h.

Referenced by rz_core_bind_cons(), and selection_widget_erase().

◆ user_fgets

int(* rz_cons_t::user_fgets) (char *buf, int len, void *user)

Definition at line 520 of file rz_cons.h.

Referenced by cb_scrfgets(), rz_cons_fgets(), and rz_core_init().

◆ user_fgets_user

void* rz_cons_t::user_fgets_user

Definition at line 521 of file rz_cons.h.

Referenced by cb_scrfgets(), rz_cons_fgets(), and rz_core_init().

◆ vline

const char** rz_cons_t::vline

Definition at line 554 of file rz_cons.h.

Referenced by ds_init(), ds_print_pre(), ds_show_functions(), and get_utf8_char().

◆ vtmode

RzVirtTermMode rz_cons_t::vtmode

Definition at line 557 of file rz_cons.h.

◆ was_html

bool rz_cons_t::was_html

Definition at line 506 of file rz_cons.h.

Referenced by rz_cmd_disassembly_n_instrs_as_text_json_handler().


The documentation for this struct was generated from the following file: