Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_range_item_t |
struct | rz_range_t |
Typedefs | |
typedef struct rz_range_item_t | RRangeItem |
typedef struct rz_range_t | RRange |
Functions | |
RZ_API RRange * | rz_range_new (void) |
RZ_API RRange * | rz_range_new_from_string (const char *string) |
RZ_API RRange * | rz_range_free (RRange *r) |
RZ_API RRangeItem * | rz_range_item_get (RRange *r, ut64 addr) |
RZ_API ut64 | rz_range_size (RRange *r) |
RZ_API int | rz_range_add_from_string (RRange *rgs, const char *string) |
RZ_API RRangeItem * | rz_range_add (RRange *rgs, ut64 from, ut64 to, int rw) |
RZ_API int | rz_range_sub (RRange *rgs, ut64 from, ut64 to) |
RZ_API int | rz_range_contains (RRange *rgs, ut64 addr) |
RZ_API int | rz_range_sort (RRange *rgs) |
RZ_API void | rz_range_percent (RRange *rgs) |
RZ_API int | rz_range_list (RRange *rgs, int rad) |
RZ_API int | rz_range_get_n (RRange *rgs, int n, ut64 *from, ut64 *to) |
RZ_API RRange * | rz_range_inverse (RRange *rgs, ut64 from, ut64 to, int flags) |
RZ_API int | rz_range_overlap (ut64 a0, ut64 a1, ut64 b0, ut64 b1, int *d) |
typedef struct rz_range_t RRange |
typedef struct rz_range_item_t RRangeItem |
Definition at line 143 of file range.c.
References add(), rz_range_t::changed, rz_range_item_t::data, rz_range_item_t::datalen, rz_range_item_t::fr, NULL, r, rz_range_t::ranges, rz_list_append(), RZ_NEW, rz_num_minmax_swap(), rz_range_item_t::to, and to.
Referenced by rz_range_add_from_string(), rz_range_inverse(), and rz_range_sub().
Definition at line 88 of file range.c.
References addr, rz_range_t::changed, free(), i, len, malloc(), memcpy(), NULL, p, rz_num_get(), rz_range_add(), cmd_descs_generate::str, and ut64().
Referenced by rz_range_new_from_string().
Definition at line 237 of file range.c.
References addr, r, rz_range_t::ranges, and to.
Referenced by rz_range_percent().
Definition at line 26 of file range.c.
References free(), NULL, r, and rz_list_purge().
Referenced by rz_range_new().
Definition at line 331 of file range.c.
References count, n, r, rz_range_t::ranges, rz_range_sort(), and to.
Definition at line 353 of file range.c.
References NULL, r, rz_range_t::ranges, rz_range_add(), rz_range_new(), rz_range_sort(), and to.
RZ_API RRangeItem* rz_range_item_get | ( | RRange * | r, |
ut64 | addr | ||
) |
Definition at line 59 of file range.c.
References addr, NULL, r, rz_range_t::ranges, and to.
Referenced by rz_range_get_data(), and rz_range_set_data().
Definition at line 314 of file range.c.
References eprintf, PFMT64d, PFMT64x, printf(), r, rz_range_t::ranges, rz_range_sort(), and ut64().
Definition at line 12 of file range.c.
References free(), NULL, r, rz_list_new(), RZ_NEW0, and rz_range_free().
Referenced by rz_range_inverse(), and rz_range_new_from_string().
Definition at line 82 of file range.c.
References rz_range_add_from_string(), and rz_range_new().
Definition at line 254 of file range.c.
References rz_range_t::changed, cmp_ranges(), rz_range_t::ranges, rz_list_sort(), and rz_list_t::sorted.
Referenced by rz_range_get_n(), rz_range_inverse(), and rz_range_list().
Definition at line 193 of file range.c.
References rz_range_t::changed, r, rz_range_t::ranges, rz_list_delete(), rz_num_minmax_swap(), rz_range_add(), and to.