Rizin
unix-like reverse engineering framework and cli tools
|
#include "ht_pp.h"
Go to the source code of this file.
Classes | |
struct | sdb_kv |
Typedefs | |
typedef struct sdb_kv | SdbKv |
Functions | |
static char * | sdbkv_key (const SdbKv *kv) |
static char * | sdbkv_value (const SdbKv *kv) |
static ut32 | sdbkv_key_len (const SdbKv *kv) |
static ut32 | sdbkv_value_len (const SdbKv *kv) |
RZ_API SdbKv * | sdbkv_new2 (const char *k, int kl, const char *v, int vl) |
RZ_API SdbKv * | sdbkv_new (const char *k, const char *v) |
RZ_API void | sdbkv_free (SdbKv *kv) |
RZ_API ut32 | sdb_hash (const char *key) |
RZ_API HtPP * | sdb_ht_new (void) |
RZ_API void | sdb_ht_free (HtPP *ht) |
RZ_API bool | sdb_ht_insert (HtPP *ht, const char *key, const char *value) |
RZ_API bool | sdb_ht_insert_kvp (HtPP *ht, SdbKv *kvp, bool update) |
RZ_API bool | sdb_ht_update (HtPP *ht, const char *key, const char *value) |
RZ_API bool | sdb_ht_delete (HtPP *ht, const char *key) |
RZ_API char * | sdb_ht_find (HtPP *ht, const char *key, bool *found) |
RZ_API SdbKv * | sdb_ht_find_kvp (HtPP *ht, const char *key, bool *found) |
Definition at line 67 of file sdbht.c.
References key.
Referenced by _remove_afer_insert(), sdb_remove(), and sdb_set_internal().
Definition at line 59 of file sdbht.c.
Referenced by resolve_mig_subsystem(), rz_bin_pe_get_libs(), and symbols_from_stubs().
Definition at line 55 of file sdbht.c.
Referenced by sdb_const_get_len(), sdb_exists(), sdb_expire_get(), sdb_expire_set(), sdb_foreach_cdb(), and sdb_set_internal().
RZ_API void sdb_ht_free | ( | HtPP * | ht | ) |
Definition at line 63 of file sdbht.c.
Referenced by resolve_mig_subsystem(), rz_bin_pe_get_libs(), sdb_fini(), sdb_reset(), and symbols().
Definition at line 43 of file sdbht.c.
References key, sdb_ht_internal_insert(), and value.
Referenced by mig_hash_new(), rz_bin_pe_get_libs(), and symbols().
RZ_API HtPP* sdb_ht_new | ( | void | ) |
Definition at line 11 of file sdbht.c.
References sdbkv_fini(), and strdup().
Referenced by mig_hash_new(), rz_bin_pe_get_libs(), sdb_new(), sdb_reset(), and symbols().
Definition at line 51 of file sdbht.c.
References key, sdb_ht_internal_insert(), and value.
Definition at line 524 of file sdb.c.
References free(), RZ_FREE, sdbkv_key(), and sdbkv_value().
Referenced by sdb_foreach_list(), sdb_foreach_list_filter_cb(), sdb_foreach_list_filter_user(), and sdb_foreach_match().
Definition at line 21 of file sdbht.h.
References sdb_kv::base.
Referenced by __cmp_asc(), __delete_almighty(), __exec_almighty(), __init_almighty_db(), __set_rcb(), __update_modal(), rop_kuery(), rz_analysis_calling_conventions(), rz_analysis_class_get_inheritance_graph(), rz_analysis_class_list_handler(), rz_analysis_class_vtable_lookup_handler(), rz_analysis_noreturn_functions(), rz_core_bin_export_info(), rz_flag_tags_list(), rz_list_of_sdblist(), sdb_foreach(), sdb_foreach_cdb(), sdb_load_arch_profile(), sdb_load_base_types(), sdb_load_callables(), sdb_load_platform_profile(), sdb_load_sysregs(), sdb_querys(), sdb_sync(), sdbkv_free(), sdbkv_match(), show_analysis_classes(), text_save(), and typelinks_load_sdb().
Definition at line 29 of file sdbht.h.
References sdb_kv::base.
Definition at line 493 of file sdb.c.
References sdb_kv::base, sdb_kv::cas, sdb_kv::expire, free(), k, malloc(), memcpy(), nextcas(), NULL, RZ_NEW0, and v.
Referenced by sdb_set_internal(), and sdbkv_new().
Definition at line 25 of file sdbht.h.
References sdb_kv::base.
Referenced by rop_kuery(), rz_analysis_calling_conventions(), rz_cmd_search(), rz_core_bin_export_info(), sdb_const_get_len(), sdb_exists(), sdb_expire_get(), sdb_expire_set(), sdb_foreach(), sdb_foreach_cdb(), sdb_load_arch_profile(), sdb_load_base_types(), sdb_load_platform_profile(), sdb_load_sysregs(), sdb_querys(), sdb_set_internal(), sdb_sync(), sdbkv_free(), sdbkv_match(), text_save(), and typelinks_load_sdb().
Definition at line 33 of file sdbht.h.
References sdb_kv::base.
Referenced by sdb_const_get_len(), and sdb_set_internal().