Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static char * | __hashify (char *s, ut64 vaddr) |
RZ_API char * | rz_bin_filter_name (RzBinFile *bf, HtPU *db, ut64 vaddr, char *name) |
RZ_API void | rz_bin_filter_sym (RzBinFile *bf, HtPP *ht, ut64 vaddr, RzBinSymbol *sym) |
RZ_API void | rz_bin_filter_symbols (RzBinFile *bf, RzList *list) |
RZ_API void | rz_bin_filter_sections (RzBinFile *bf, RzList *list) |
static bool | false_positive (const char *str) |
RZ_API bool | rz_bin_strpurge (RzBin *bin, const char *str, ut64 refaddr) |
static int | get_char_ratio (char ch, const char *str) |
static bool | bin_strfilter (RzBin *bin, const char *str) |
RZ_API bool | rz_bin_string_filter (RzBin *bin, const char *str, int len, ut64 addr) |
|
static |
Definition at line 7 of file filter.c.
References free(), IS_PRINTABLE, NULL, PFMT64d, rz_return_val_if_fail, rz_str_newf(), s, sdb_hash(), and UT64_MAX.
Referenced by rz_bin_filter_name().
Definition at line 268 of file filter.c.
References false, get_char_ratio(), i, IS_DIGIT, IS_LOWER, IS_PRINTABLE, IS_UPPER, and cmd_descs_generate::str.
Referenced by rz_bin_string_filter().
Definition at line 157 of file filter.c.
References i, IS_DIGIT, lo, sp, cmd_descs_generate::str, and ut8.
Referenced by rz_bin_strpurge().
Definition at line 33 of file filter.c.
References __hashify(), count, found, free(), name, NULL, p, PFMT64x, rz_return_val_if_fail, rz_str_appendf(), rz_str_newf(), autogen_x86imm::tmp, uname, ut64(), and arg::value.
Referenced by filter_classes(), and rz_bin_filter_sections().
Definition at line 144 of file filter.c.
References list(), rz_bin_section_t::name, p, rz_bin_filter_name(), and rz_bin_section_t::vaddr.
Referenced by rz_bin_object_set_items().
RZ_API void rz_bin_filter_sym | ( | RzBinFile * | bf, |
HtPP * | ht, | ||
ut64 | vaddr, | ||
RzBinSymbol * | sym | ||
) |
Definition at line 81 of file filter.c.
References rz_bin_symbol_t::classname, rz_bin_symbol_t::dname, rz_bin_symbol_t::dup_count, free(), rz_bin_symbol_t::is_imported, IS_UPPER, rz_bin_object_t::lang, rz_bin_symbol_t::name, NULL, rz_bin_file_t::o, p, PFMT64x, rz_bin_demangle(), RZ_LOG_WARN, rz_return_if_fail, RZ_STR_ISNOTEMPTY, sdb_fmt(), strdup(), uname, and rz_bin_symbol_t::vaddr.
Referenced by filter_classes(), and rz_bin_filter_symbols().
Definition at line 128 of file filter.c.
References list(), rz_bin_symbol_t::name, rz_bin_filter_sym(), and rz_bin_symbol_t::vaddr.
Referenced by rz_bin_object_set_items().
Filter the given string, respecting bin->strpurge, bin->strfilter, and if len >= 0, also bin->minstrlen and bin->maxstrlen.
Definition at line 385 of file filter.c.
References addr, bin_strfilter(), len, rz_bin_strpurge(), and cmd_descs_generate::str.
Referenced by ds_print_str(), rz_core_bin_apply_strings(), and strings_print().
Definition at line 208 of file filter.c.
References addr, false_positive(), free(), from, i, NULL, rz_num_get(), rz_str_split(), cmd_descs_generate::str, strdup(), to, and ut64().
Referenced by myregwrite(), and rz_bin_string_filter().