Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_skyline_item_t |
struct | rz_skyline_t |
Typedefs | |
typedef struct rz_skyline_item_t | RzSkylineItem |
typedef struct rz_skyline_t | RzSkyline |
Functions | |
RZ_API bool | rz_skyline_add (RzSkyline *skyline, RzInterval itv, void *user) |
RZ_API const RzSkylineItem * | rz_skyline_get_item_intersect (RzSkyline *skyline, ut64 addr, ut64 len) |
static void | rz_skyline_init (RzSkyline *skyline) |
static void | rz_skyline_fini (RzSkyline *skyline) |
static void | rz_skyline_clear (RzSkyline *skyline) |
static const RzSkylineItem * | rz_skyline_get_item (RzSkyline *skyline, ut64 addr) |
static void * | rz_skyline_get (RzSkyline *skyline, ut64 addr) |
static void * | rz_skyline_get_intersect (RzSkyline *skyline, ut64 addr, ut64 len) |
static bool | rz_skyline_contains (RzSkyline *skyline, ut64 addr) |
typedef struct rz_skyline_t RzSkyline |
typedef struct rz_skyline_item_t RzSkylineItem |
RZ_API bool rz_skyline_add | ( | RzSkyline * | skyline, |
RzInterval | itv, | ||
void * | user | ||
) |
Definition at line 12 of file skyline.c.
References rz_interval_t::addr, CMP_BEGIN_GTE_PART, rz_skyline_item_t::itv, NULL, rz_itv_begin(), rz_itv_end(), rz_itv_include(), rz_itv_overlap(), rz_itv_size(), rz_return_val_if_fail, rz_vector_index_ptr(), rz_vector_insert(), rz_vector_len(), rz_vector_lower_bound, rz_vector_remove_at(), rz_interval_t::size, rz_skyline_item_t::user, ut64(), UT64_ADD_OVFCHK, and rz_skyline_t::v.
Referenced by io_map_calculate_skyline(), io_map_new(), rz_core_disasm_pde(), rz_io_cache_invalidate(), rz_io_cache_write(), and rz_io_map_priorize().
|
inlinestatic |
Definition at line 29 of file rz_skyline.h.
References rz_return_if_fail, rz_vector_clear(), and rz_skyline_t::v.
Referenced by io_map_calculate_skyline(), rz_core_disasm_pde(), rz_io_cache_invalidate(), rz_io_cache_reset(), and rz_io_map_fini().
Definition at line 51 of file rz_skyline.h.
References addr, rz_return_val_if_fail, and rz_skyline_get_item().
Referenced by rz_io_cache_at().
|
inlinestatic |
Definition at line 24 of file rz_skyline.h.
References rz_return_if_fail, rz_vector_fini(), and rz_skyline_t::v.
Referenced by rz_io_cache_fini().
Definition at line 39 of file rz_skyline.h.
References addr, NULL, rz_return_val_if_fail, rz_skyline_get_item(), and rz_skyline_item_t::user.
Referenced by rz_io_map_get().
Definition at line 45 of file rz_skyline.h.
References addr, len, NULL, rz_return_val_if_fail, rz_skyline_get_item_intersect(), and rz_skyline_item_t::user.
|
inlinestatic |
Definition at line 34 of file rz_skyline.h.
References addr, NULL, rz_return_val_if_fail, and rz_skyline_get_item_intersect().
Referenced by rz_skyline_contains(), and rz_skyline_get().
RZ_API const RzSkylineItem* rz_skyline_get_item_intersect | ( | RzSkyline * | skyline, |
ut64 | addr, | ||
ut64 | len | ||
) |
Definition at line 60 of file skyline.c.
References addr, rz_interval_t::addr, CMP_END_GTE_PART, i, rz_skyline_item_t::itv, len, NULL, rz_return_val_if_fail, rz_vector_index_ptr(), rz_vector_len(), rz_vector_lower_bound, ut64(), UT64_ADD_OVFCHK, and rz_skyline_t::v.
Referenced by rz_io_cache_read(), rz_skyline_get_intersect(), and rz_skyline_get_item().
|
inlinestatic |
Definition at line 19 of file rz_skyline.h.
References NULL, rz_return_if_fail, rz_vector_init(), and rz_skyline_t::v.
Referenced by rz_io_cache_init(), and rz_io_init().