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

#include <rz_print.h>

Public Attributes

void * user
 
RzIOBind iob
 
bool pava
 
RzCoreBind coreb
 
const char * cfmt
 
char datefmt [32]
 
int datezone
 
int(* write )(const unsigned char *buf, int len)
 
PrintfCallback cb_printf
 
PrintfCallback cb_eprintf
 
char *(* cb_color )(int idx, int last, bool bg)
 
bool scr_prompt
 
int(* disasm )(void *p, ut64 addr)
 
PrintfCallback oprintf
 
int big_endian
 
int width
 
int limit
 
int bits
 
bool histblock
 
bool cur_enabled
 
int cur
 
int ocur
 
int cols
 
int flags
 
int seggrn
 
bool use_comments
 
int addrmod
 
int col
 
int stride
 
int bytespace
 
int pairs
 
bool resetbg
 
RzPrintZoomzoom
 
RzPrintNameCallback offname
 
RzPrintSizeCallback offsize
 
RzPrintColorFor colorfor
 
RzPrintHasRefs hasrefs
 
RzPrintCommentCallback get_comments
 
RzPrintSectionGet get_section_name
 
Sdbsdb_types
 
RzConscons
 
RzConsBind consbind
 
RzNumnum
 
RzRegreg
 
RzRegItem *(* get_register )(RzReg *reg, const char *name, int type)
 
ut64(* get_register_value )(RzReg *reg, RzRegItem *item)
 
bool(* exists_var )(struct rz_print_t *print, ut64 func_addr, char *str)
 
bool esc_bslash
 
bool wide_offsets
 
const char * strconv_mode
 
RzListvars
 
char io_unalloc_ch
 
bool show_offset
 
bool calc_row_offsets
 
ut32row_offsets
 
int row_offsets_sz
 
bool vflush
 
ut64 screen_bounds
 
int rows
 
RzPrintAsmColorOpts colorize_opts
 Coloize options for asm strings. More...
 

Detailed Description

Definition at line 109 of file rz_print.h.

Member Data Documentation

◆ addrmod

int rz_print_t::addrmod

Definition at line 140 of file rz_print.h.

Referenced by cb_searchalign().

◆ big_endian

◆ bits

int rz_print_t::bits

Definition at line 127 of file rz_print.h.

Referenced by cb_asmbits().

◆ bytespace

int rz_print_t::bytespace

Definition at line 143 of file rz_print.h.

Referenced by ds_init(), and ds_print_show_bytes().

◆ calc_row_offsets

bool rz_print_t::calc_row_offsets

Definition at line 169 of file rz_print.h.

◆ cb_color

char*(* rz_print_t::cb_color) (int idx, int last, bool bg)

Definition at line 120 of file rz_print.h.

Referenced by rz_core_init().

◆ cb_eprintf

PrintfCallback rz_print_t::cb_eprintf

Definition at line 119 of file rz_print.h.

Referenced by rz_core_init().

◆ cb_printf

PrintfCallback rz_print_t::cb_printf

Definition at line 118 of file rz_print.h.

Referenced by rz_core_init().

◆ cfmt

const char* rz_print_t::cfmt

Definition at line 114 of file rz_print.h.

Referenced by cb_cmd_hexcursor().

◆ col

◆ colorfor

RzPrintColorFor rz_print_t::colorfor

Definition at line 149 of file rz_print.h.

Referenced by rz_core_init().

◆ colorize_opts

RzPrintAsmColorOpts rz_print_t::colorize_opts

Coloize options for asm strings.

Definition at line 182 of file rz_print.h.

Referenced by ds_build_op_str().

◆ cols

◆ cons

RzCons* rz_print_t::cons

Definition at line 154 of file rz_print.h.

Referenced by rz_core_init().

◆ consbind

RzConsBind rz_print_t::consbind

Definition at line 155 of file rz_print.h.

Referenced by rz_core_init().

◆ coreb

RzCoreBind rz_print_t::coreb

Definition at line 113 of file rz_print.h.

Referenced by rz_core_init().

◆ cur

◆ cur_enabled

◆ datefmt

char rz_print_t::datefmt[32]

Definition at line 115 of file rz_print.h.

Referenced by cb_cfgdatefmt().

◆ datezone

int rz_print_t::datezone

Definition at line 116 of file rz_print.h.

Referenced by cb_timezone().

◆ disasm

int(* rz_print_t::disasm) (void *p, ut64 addr)

Definition at line 122 of file rz_print.h.

Referenced by rz_core_init().

◆ esc_bslash

bool rz_print_t::esc_bslash

◆ exists_var

bool(* rz_print_t::exists_var) (struct rz_print_t *print, ut64 func_addr, char *str)

Definition at line 160 of file rz_print.h.

Referenced by rz_core_init().

◆ flags

◆ get_comments

RzPrintCommentCallback rz_print_t::get_comments

Definition at line 151 of file rz_print.h.

Referenced by annotated_hexdump(), and rz_core_init().

◆ get_register

RzRegItem*(* rz_print_t::get_register) (RzReg *reg, const char *name, int type)

Definition at line 158 of file rz_print.h.

Referenced by cmd_print_format().

◆ get_register_value

ut64(* rz_print_t::get_register_value) (RzReg *reg, RzRegItem *item)

Definition at line 159 of file rz_print.h.

Referenced by cmd_print_format().

◆ get_section_name

RzPrintSectionGet rz_print_t::get_section_name

Definition at line 152 of file rz_print.h.

Referenced by rz_core_init().

◆ hasrefs

RzPrintHasRefs rz_print_t::hasrefs

Definition at line 150 of file rz_print.h.

Referenced by __refs(), rz_cmd_help(), and rz_core_init().

◆ histblock

bool rz_print_t::histblock

Definition at line 128 of file rz_print.h.

Referenced by cb_scr_histblock(), and core_print_columns().

◆ io_unalloc_ch

char rz_print_t::io_unalloc_ch

Definition at line 165 of file rz_print.h.

Referenced by cb_io_unalloc_ch(), and cmd_prc().

◆ iob

RzIOBind rz_print_t::iob

Definition at line 111 of file rz_print.h.

Referenced by cmd_prc(), and rz_core_init().

◆ limit

int rz_print_t::limit

Definition at line 126 of file rz_print.h.

◆ num

RzNum* rz_print_t::num

Definition at line 156 of file rz_print.h.

Referenced by cmd_print_bars(), cmd_print_format(), and rz_core_init().

◆ ocur

◆ offname

RzPrintNameCallback rz_print_t::offname

Definition at line 147 of file rz_print.h.

Referenced by rz_core_init().

◆ offsize

RzPrintSizeCallback rz_print_t::offsize

Definition at line 148 of file rz_print.h.

Referenced by rz_core_init().

◆ oprintf

PrintfCallback rz_print_t::oprintf

Definition at line 123 of file rz_print.h.

◆ pairs

int rz_print_t::pairs

Definition at line 144 of file rz_print.h.

Referenced by cb_hex_pairs().

◆ pava

bool rz_print_t::pava

◆ reg

RzReg* rz_print_t::reg

Definition at line 157 of file rz_print.h.

Referenced by cmd_print_format().

◆ resetbg

bool rz_print_t::resetbg

Definition at line 145 of file rz_print.h.

Referenced by ds_print_shortcut().

◆ row_offsets

ut32* rz_print_t::row_offsets

Definition at line 172 of file rz_print.h.

◆ row_offsets_sz

int rz_print_t::row_offsets_sz

Definition at line 174 of file rz_print.h.

◆ rows

int rz_print_t::rows

Definition at line 181 of file rz_print.h.

◆ scr_prompt

bool rz_print_t::scr_prompt

Definition at line 121 of file rz_print.h.

Referenced by cb_scrprompt(), and rz_diff_load_file_with_core().

◆ screen_bounds

◆ sdb_types

Sdb* rz_print_t::sdb_types

Definition at line 153 of file rz_print.h.

◆ seggrn

int rz_print_t::seggrn

Definition at line 138 of file rz_print.h.

Referenced by cb_seggrn().

◆ show_offset

bool rz_print_t::show_offset

Definition at line 166 of file rz_print.h.

Referenced by rz_print_hexdump_hexii_handler().

◆ strconv_mode

const char* rz_print_t::strconv_mode

Definition at line 163 of file rz_print.h.

Referenced by cb_scrstrconv(), and ds_init().

◆ stride

int rz_print_t::stride

Definition at line 142 of file rz_print.h.

◆ use_comments

bool rz_print_t::use_comments

◆ user

void* rz_print_t::user

Definition at line 110 of file rz_print.h.

Referenced by __refs(), annotated_hexdump(), exists_var(), rz_cmd_help(), and rz_core_init().

◆ vars

RzList* rz_print_t::vars

Definition at line 164 of file rz_print.h.

◆ vflush

bool rz_print_t::vflush

Definition at line 176 of file rz_print.h.

Referenced by rz_core_visual(), and visual_refresh().

◆ wide_offsets

bool rz_print_t::wide_offsets

Definition at line 162 of file rz_print.h.

Referenced by cb_scr_wideoff(), prompt_add_offset(), and rz_core_visual_title().

◆ width

int rz_print_t::width

Definition at line 125 of file rz_print.h.

◆ write

int(* rz_print_t::write) (const unsigned char *buf, int len)

Definition at line 117 of file rz_print.h.

Referenced by rz_core_init().

◆ zoom

RzPrintZoom* rz_print_t::zoom

Definition at line 146 of file rz_print.h.

Referenced by cb_zoombyte().


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