Rizin
unix-like reverse engineering framework and cli tools
|
#include "sdb.h"
Go to the source code of this file.
Functions | |
RZ_API void | sdb_ns_lock (Sdb *s, int lock, int depth) |
static int | in_list (SdbList *list, void *item) |
static void | ns_free_exc_list (Sdb *s, SdbList *list) |
RZ_API void | sdb_ns_free_all (Sdb *s) |
static SdbNs * | sdb_ns_new (Sdb *s, const char *name, ut32 hash) |
static void | sdb_ns_free (SdbNs *ns) |
RZ_API bool | sdb_ns_unset (Sdb *s, const char *name, Sdb *r) |
RZ_API int | sdb_ns_set (Sdb *s, const char *name, Sdb *r) |
RZ_API Sdb * | sdb_ns (Sdb *s, const char *name, int create) |
RZ_API Sdb * | sdb_ns_path (Sdb *s, const char *path, int create) |
static void | ns_sync (Sdb *s, SdbList *list) |
RZ_API void | sdb_ns_sync (Sdb *s) |
Definition at line 17 of file ns.c.
References list(), and ls_foreach.
Referenced by ns_free_exc_list(), and ns_sync().
Definition at line 29 of file ns.c.
References free(), in_list(), list(), ls_append(), ls_delete(), ls_foreach, ls_free(), ls_iter_t::n, sdb_ns_t::name, NULL, s, sdb_ns_t::sdb, and sdb_free().
Referenced by sdb_ns_free_all().
Definition at line 234 of file ns.c.
References in_list(), list(), ls_append(), ls_foreach, s, sdb_ns_t::sdb, and sdb_sync().
Referenced by sdb_ns_sync().
Definition at line 186 of file ns.c.
References create(), sdb_ns_t::hash, ls_append(), ls_foreach, NULL, s, sdb_ns_t::sdb, sdb_hash(), and sdb_ns_new().
Referenced by core_analysis_graph_nodes(), file_save_cb(), load_process_line(), print_rop(), rop_classify(), rop_kuery(), rz_analysis_dwarf_process_info(), rz_analysis_new(), rz_cmd_kuery(), rz_cmd_search(), rz_core_analysis_everything(), rz_core_bin_export_info(), rz_core_bin_get_compile_time(), rz_core_search_rop(), rz_debug_session_serialize(), rz_project_load(), rz_project_migrate_v1_v2(), rz_project_migrate_v2_v3(), rz_project_migrate_v3_v4(), rz_project_migrate_v5_v6(), rz_project_save(), rz_serialize_analysis_classes_load(), rz_serialize_analysis_meta_load(), rz_serialize_analysis_meta_save(), rz_serialize_analysis_save(), rz_serialize_core_save(), rz_serialize_debug_save(), rz_serialize_flag_load(), rz_serialize_flag_save(), rz_serialize_io_files_save(), rz_serialize_io_save(), rz_serialize_spaces_load(), rz_serialize_spaces_save(), sdb_copy(), sdb_diff_ctx(), sdb_ns_path(), sdb_querys(), and update_sdb().
|
static |
Definition at line 130 of file ns.c.
References free(), sdb_ns_t::name, sdb_ns_t::sdb, and sdb_free().
Referenced by sdb_ns_unset().
Definition at line 74 of file ns.c.
References list(), ls_free(), ls_new(), ns_free_exc_list(), NULL, and s.
Referenced by sdb_fini().
Definition at line 87 of file ns.c.
References free(), sdb_ns_t::hash, malloc(), memcpy(), sdb_t::name, sdb_ns_t::name, NULL, sdb_t::path, s, sdb_ns_t::sdb, SDB_MAX_PATH, sdb_new0(), and strdup().
Referenced by sdb_ns().
Definition at line 213 of file ns.c.
References create(), free(), path, s, sdb_ns(), cmd_descs_generate::str, and strdup().
Referenced by bin_elf_versioninfo_verneed(), bin_elf_versioninfo_versym(), bin_pe_versioninfo(), rz_cmd_kuery(), rz_core_bin_apply_resources(), and session_sdb_load_ns().
Definition at line 156 of file ns.c.
References sdb_ns_t::hash, ls_append(), ls_foreach, sdb_ns_t::name, r, RZ_NEW, s, sdb_ns_t::sdb, sdb_free(), sdb_hash(), and strdup().
Referenced by _parse_resource_directory(), _store_resource_sdb(), get_gnu_verneed(), get_sdb(), get_verneed_entry_sdb(), init_symbols_info_aux(), load(), load_buffer(), Pe_r_bin_store_resource_version_info(), Pe_r_bin_store_string_file_info(), Pe_r_bin_store_string_table(), Pe_r_bin_store_var_file_info(), rz_bin_elf_get_symbols_info(), rz_bin_object_new(), update_sdb(), and update_syscall_ns().
Definition at line 136 of file ns.c.
References ls_delete(), ls_foreach, sdb_ns_t::name, r, s, sdb_ns_t::sdb, and sdb_ns_free().
Referenced by rz_project_migrate_v6_v7(), rz_project_migrate_v7_v8(), and update_syscall_ns().