14 refs 10->20
C 16->10
J 20->10
C
16 xrefs 20->[10
C] 10 -> [16
J, 20
C]
43 ht_up_free(kv->value);
68 if (
a->from <
b->from) {
71 if (
a->from >
b->from) {
100 HtUP *ht = ht_up_find(
m, key1,
NULL);
108 if (!ht_up_insert(
m, key1, ht)) {
113 return ht_up_update(ht, key2, xref);
118 if (!analysis ||
from ==
to) {
154 ht_up_delete(ht1,
to);
158 ht_up_delete(ht2,
from);
180 if (rz_list_empty(
list)) {
194 if (rz_list_empty(
list)) {
268 (*(
ut64 *)user) += ((HtUP *)
v)->count;
285 rz_list_foreach (fcn->
bbs,
iter, bb) {
RZ_API ut16 rz_analysis_block_get_op_offset(RzAnalysisBlock *block, size_t i)
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 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_ANALYSIS_XREF_TYPE_CODE
@ RZ_ANALYSIS_XREF_TYPE_NULL
@ RZ_ANALYSIS_XREF_TYPE_STRING
@ RZ_ANALYSIS_XREF_TYPE_CALL
@ RZ_ANALYSIS_XREF_TYPE_DATA
#define rz_return_val_if_fail(expr, val)
void(* RzListFree)(void *ptr)
int(* RzListComparator)(const void *value, const void *list_data)
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr socklen_t static fromlen const void const struct sockaddr to
struct rz_analysis_t * analysis
RzIOIsValidOff is_valid_offset
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
static int ref_cmp(const RzAnalysisXRef *a, const RzAnalysisXRef *b)
static bool set_xref(HtUP *m, RzAnalysisXRef *xref, bool from2to)
RZ_API RZ_OWN RzList * rz_analysis_xrefs_list(RzAnalysis *analysis)
Get list of all xrefs.
static bool count_cb(void *user, const ut64 k, const void *v)
RZ_API RzList * rz_analysis_xref_list_new()
RZ_API RzList * rz_analysis_xrefs_get_from(RzAnalysis *analysis, ut64 addr)
RZ_API RzList * rz_analysis_xrefs_get_to(RzAnalysis *analysis, ut64 addr)
static RzAnalysisXRef * rz_analysis_xref_new(ut64 from, ut64 to, ut64 type)
static RzList * fcn_get_refs(RzAnalysisFunction *fcn, HtUP *ht)
RZ_API RzList * rz_analysis_function_get_xrefs_to(RzAnalysisFunction *fcn)
RZ_API ut64 rz_analysis_xrefs_count(RzAnalysis *analysis)
RZ_API const char * rz_analysis_ref_type_tostring(RzAnalysisXRefType t)
static void listxrefs(HtUP *m, ut64 addr, RzList *list)
RZ_API bool rz_analysis_xrefs_init(RzAnalysis *analysis)
static void xrefs_ref_free(HtUPKv *kv)
RZ_API const char * rz_analysis_xrefs_type_tostring(RzAnalysisXRefType type)
static void xrefs_ht_free(HtUPKv *kv)
RZ_API bool rz_analysis_xrefs_set(RzAnalysis *analysis, ut64 from, ut64 to, RzAnalysisXRefType type)
static void rz_analysis_xref_free(RzAnalysisXRef *xref)
static bool mylistrefs_cb(void *list, const ut64 k, const void *v)
static void sortxrefs(RzList *list)
RZ_API bool rz_analysis_xrefs_deln(RzAnalysis *analysis, ut64 from, ut64 to, RzAnalysisXRefType type)
RZ_API bool rz_analysis_xref_del(RzAnalysis *analysis, ut64 from, ut64 to)
static bool appendRef(void *u, const ut64 k, const void *v)
RZ_API RzList * rz_analysis_function_get_xrefs_from(RzAnalysisFunction *fcn)
RZ_API RzAnalysisXRefType rz_analysis_xrefs_type(char ch)