15 if (cur > (rows / 2)) {
16 skip = cur - (rows / 2);
74 rz_list_foreach (xrefs,
iter, xref) {
101 rz_list_foreach (xrefs,
iter, xref) {
136 target =
status->fcn->addr;
144 rz_list_foreach (
status->mainCol,
iter, item) {
145 if (target == item->
addr) {
153 static int cmpaddr(
const void *_a,
const void *_b) {
155 return a->addr -
b->addr;
158 static int cmpname(
const void *_a,
const void *_b) {
160 if (!
a || !
b || !
a->name || !
b->name) {
163 return (
int)strcmp(
a->name,
b->name);
169 list->sorted =
false;
218 const int colw =
w / 4;
219 const int colh =
h / 2;
220 const int colx =
w / 3;
269 if (ch == -1 || ch == 4) {
275 if (!rz_list_empty(
status.xrefsCol)) {
285 if (!rz_list_empty(
status.refsCol)) {
366 "vbg: Visual Browser (Code) Graph:\n\n"
367 " jkJK - scroll up/down\n"
368 " hl - move to the left/right panel\n"
369 " q - quit this visual mode\n"
370 " _ - enter the hud\n"
371 " . - go back to the initial function list view\n"
372 " : - enter command\n");
RZ_API RzAnalysisFunction * rz_analysis_get_function_at(RzAnalysis *analysis, ut64 addr)
static RzILOpEffect * cmp(cs_insn *insn, bool is_thumb)
RZ_API int rz_core_cmd0(RzCore *core, const char *cmd)
RZ_API char * rz_core_cmd_strf(RzCore *core, const char *fmt,...)
RZ_API RzConfigNode * rz_config_set(RzConfig *cfg, RZ_NONNULL const char *name, const char *value)
RZ_API void rz_cons_clear00(void)
RZ_API void rz_cons_set_raw(bool is_raw)
RZ_API int rz_cons_get_size(int *rows)
RZ_API int rz_cons_printf(const char *format,...)
RZ_API void rz_cons_strcat_at(const char *_str, int x, char y, int w, int h)
RZ_API void rz_cons_show_cursor(int cursor)
RZ_API void rz_cons_flush(void)
RZ_API void rz_cons_clear(void)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags cmd
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_DEPRECATE RZ_API RzAnalysisFunction * rz_analysis_get_fcn_in(RzAnalysis *analysis, ut64 addr, int type)
RZ_API RzFlagItem * rz_flag_get_at(RzFlag *f, ut64 off, bool closest)
void skip(file *in, unsigned n)
RZ_API void Ht_() free(HtName_(Ht) *ht)
static void list(RzEgg *egg)
RZ_API RZ_OWN RzList * rz_list_newf(RzListFree f)
Returns a new initialized RzList pointer and sets the free method.
RZ_API void rz_list_sort(RZ_NONNULL RzList *list, RZ_NONNULL RzListComparator cmp)
Sorts via merge sort or via insertion sort a list.
RZ_API RZ_BORROW void * rz_list_get_n(RZ_NONNULL const RzList *list, ut32 n)
Returns the N-th element of the list.
RZ_API ut32 rz_list_length(RZ_NONNULL const RzList *list)
Returns the length of the list.
RZ_API RZ_BORROW RzListIter * rz_list_append(RZ_NONNULL RzList *list, void *data)
Appends at the end of the list a new element.
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
RZ_API void rz_line_set_prompt(const char *prompt)
static const char struct stat static buf struct stat static buf static vhangup int status
@ RZ_ANALYSIS_XREF_TYPE_CALL
#define rz_return_if_fail(expr)
int(* RzListComparator)(const void *value, const void *list_data)
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API RZ_OWN char * rz_strbuf_drain(RzStrBuf *sb)
RZ_API RzStrBuf * rz_strbuf_new(const char *s)
RZ_API bool rz_strbuf_appendf(RzStrBuf *sb, const char *fmt,...) RZ_PRINTF_CHECK(2
RZ_API bool rz_core_seek(RzCore *core, ut64 addr, bool rb)
Seek to addr.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
RZ_API RzList * rz_analysis_xrefs_get_to(RzAnalysis *analysis, ut64 addr)
RZ_API RzList * rz_analysis_function_get_xrefs_from(RzAnalysisFunction *fcn)