Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API ut32 | sdb_hash_len (const char *s, ut32 *len) |
RZ_API ut32 | sdb_hash (const char *s) |
RZ_API ut8 | sdb_hash_byte (const char *s) |
RZ_API const char * | sdb_itoca (ut64 n) |
RZ_API char * | sdb_itoa (ut64 n, char *s, int base) |
RZ_API ut64 | sdb_atoi (const char *s) |
RZ_API char * | sdb_array_compact (char *p) |
RZ_API char * | sdb_aslice (char *out, int from, int to) |
RZ_API int | sdb_alen (const char *str) |
RZ_API int | sdb_alen_ignore_empty (const char *str) |
RZ_API char * | sdb_anext (char *str, char **next) |
RZ_API const char * | sdb_const_anext (const char *str) |
RZ_API ut64 | sdb_now (void) |
RZ_API int | sdb_isnum (const char *s) |
RZ_API int | sdb_num_base (const char *s) |
RZ_API const char * | sdb_type (const char *k) |
Definition at line 151 of file util.c.
References len, n, p, SDB_RS, and cmd_descs_generate::str.
Referenced by get_enum_type(), get_struct_type(), get_union_type(), rz_analysis_class_base_get_all(), rz_analysis_class_method_get_all(), rz_analysis_class_vtable_get_all(), sdb_array_delete(), sdb_array_get(), sdb_array_set(), sdb_array_size(), sdb_fmt_array(), and sdb_fmt_array_num().
Definition at line 167 of file util.c.
References len, n, p, SDB_RS, and cmd_descs_generate::str.
Referenced by sdb_array_length().
RZ_API char* sdb_anext | ( | char * | str, |
char ** | next | ||
) |
Definition at line 192 of file util.c.
References NULL, p, SDB_RS, and cmd_descs_generate::str.
Referenced by get_callable_type(), get_struct_type(), get_union_type(), rz_analysis_class_base_get(), rz_analysis_class_method_get(), rz_analysis_class_vtable_get(), rz_analysis_dwarf_integrate_functions(), and sdb_fmt_tobin().
Definition at line 116 of file util.c.
References test_evm::end, from, setup::idx, len, NULL, out, p, cmd_descs_generate::str, and to.
Definition at line 88 of file util.c.
Referenced by __computeTotal(), deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), rz_core_analysis_esil_init_mem(), sdb_array_add_sorted_num(), sdb_array_get_num(), sdb_array_pop_num(), sdb_array_remove_num(), sdb_fmt_array_num(), sdb_fmt_tobin(), sdb_num_get(), sdb_num_max(), sdb_num_min(), and sdb_querys().
Definition at line 206 of file util.c.
References NULL, p, SDB_RS, and cmd_descs_generate::str.
Referenced by sdb_array_add_sorted(), and sdb_array_add_sorted_num().
Definition at line 22 of file util.c.
References NULL, s, and sdb_hash_len().
Referenced by __hashify(), cdb_make_add(), HtName_(), rz_il_vm_init(), rz_line_ns_completion_result_new(), sdb_exists(), sdb_expire_set(), sdb_ns(), sdb_ns_set(), sdb_querys(), sdb_set_internal(), and sigdb_entry_hash().
Definition at line 7 of file util.c.
References CDB_HASHSTART, count, h, len, and s.
Referenced by sdb_hash(), and sdb_hash_byte().
Definition at line 38 of file util.c.
References copy_string, free(), i, malloc(), n, NULL, and s.
Referenced by rz_core_analysis_esil_init_mem(), rz_open_binary_list_ascii_handler(), rz_table_tofancystring(), rz_table_tosimplestring(), sdb_array_add_num(), sdb_array_add_sorted_num(), sdb_array_contains_num(), sdb_array_insert_num(), sdb_array_prepend_num(), sdb_array_push_num(), sdb_array_set_num(), sdb_fmt_tostr(), sdb_itoca(), sdb_lock(), sdb_num_add(), sdb_num_set(), sdb_querys(), signature(), and xrefs_graph().
Definition at line 211 of file util.c.
References rz_time_now(), and ut64().
Referenced by parse_expire(), sdb_const_get_len(), sdb_hook_call(), and sdb_new().
Definition at line 221 of file util.c.
References s, and SDB_NUM_BASE.
Referenced by sdb_num_add(), sdb_num_set(), and sdb_querys().