Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | RzSearchLeftover |
Macros | |
#define | USE_BMH 0 |
Definition at line 301 of file search.c.
References a, b, rz_search_keyword_t::bin_binmask, rz_search_keyword_t::bin_keyword, rz_search_keyword_t::binmask_length, i, rz_search_keyword_t::icase, k, rz_search_keyword_t::keyword_length, s, and tolower.
Referenced by rz_search_mybinparse_update().
|
static |
Definition at line 487 of file search.c.
References addr, hit(), k, rz_list_append(), and RZ_NEW0.
Referenced by rz_search_find().
RZ_LIB_VERSION | ( | rz_search | ) |
Definition at line 96 of file search.c.
References rz_search_keyword_t::count, rz_search_keyword_t::last, and s.
Referenced by rz_cmd_search(), rz_core_search_prelude(), and rzfind_open_file().
Definition at line 144 of file search.c.
References a, rz_search_keyword_t::bin_keyword, rz_search_keyword_t::count, RzSearchLeftover::data, RzSearchLeftover::end, from, i, rz_search_keyword_t::keyword_length, rz_search_keyword_t::last, len, RzSearchLeftover::len, malloc(), memcpy(), RZ_MAX, RZ_MIN, rz_search_hit_new(), s, and ut64().
Referenced by rz_search_set_mode().
Definition at line 498 of file search.c.
References addr, len, listcb(), rz_list_new(), rz_search_set_callback(), rz_search_update(), and s.
Definition at line 52 of file search.c.
References free(), NULL, rz_list_free(), and s.
Referenced by rz_core_fini(), rz_search_new(), and rzfind_open_file().
RZ_API int rz_search_hit_new | ( | RzSearch * | s, |
RzSearchKeyword * | kw, | ||
ut64 | addr | ||
) |
Definition at line 107 of file search.c.
References addr, rz_search_keyword_t::count, eprintf, hit(), rz_search_keyword_t::keyword_length, rz_search_keyword_t::last, PFMT64x, rz_list_append(), RZ_NEW0, and s.
Referenced by rz_search_aes_update(), rz_search_deltakey_update(), rz_search_mybinparse_update(), rz_search_privkey_update(), rz_search_regexp_update(), and rz_search_strings_update().
RZ_API int rz_search_kw_add | ( | RzSearch * | s, |
RzSearchKeyword * | kw | ||
) |
Definition at line 506 of file search.c.
References rz_search_keyword_t::keyword_length, rz_search_keyword_t::kwidx, rz_list_append(), and s.
Referenced by rz_cmd_search(), rz_core_search_prelude(), and rzfind_open_file().
Definition at line 544 of file search.c.
References RZ_FREE, rz_list_purge(), and s.
Referenced by rz_cmd_search(), and rz_core_search_prelude().
Definition at line 359 of file search.c.
References brute_force_match(), rz_search_keyword_t::count, RzSearchLeftover::data, RzSearchLeftover::end, from, i, rz_search_keyword_t::keyword_length, rz_search_keyword_t::last, len, RzSearchLeftover::len, malloc(), memcpy(), RZ_MAX, RZ_MIN, rz_search_hit_new(), s, and ut64().
Referenced by rz_search_set_mode().
Definition at line 19 of file search.c.
References eprintf, free(), NULL, rz_list_newf(), RZ_NEW0, rz_search_free(), rz_search_keyword_free(), rz_search_set_mode(), and s.
Referenced by rz_core_init(), and rzfind_open_file().
Definition at line 537 of file search.c.
References eprintf, rz_search_set_mode(), and s.
Referenced by rz_cmd_search(), and rz_core_search_prelude().
RZ_API void rz_search_set_callback | ( | RzSearch * | s, |
RzSearchCallback(callback) | , | ||
void * | user | ||
) |
Definition at line 463 of file search.c.
References s.
Referenced by do_string_search(), rz_core_search_prelude(), rz_search_find(), and rzfind_open_file().
Definition at line 449 of file search.c.
References eprintf, RZ_SEARCH_DISTANCE_MAX, and s.
Referenced by rz_cmd_search().
Definition at line 78 of file search.c.
References NULL, RZ_SEARCH_AES, rz_search_aes_update(), RZ_SEARCH_DELTAKEY, rz_search_deltakey_update(), RZ_SEARCH_KEYWORD, RZ_SEARCH_MAGIC, rz_search_magic_update(), rz_search_mybinparse_update(), RZ_SEARCH_PATTERN, RZ_SEARCH_PRIV_KEY, rz_search_privkey_update(), RZ_SEARCH_REGEXP, rz_search_regexp_update(), RZ_SEARCH_STRING, rz_search_strings_update(), and s.
Referenced by rz_search_new(), and rz_search_reset().
Definition at line 516 of file search.c.
References rz_search_keyword_t::bin_binmask, rz_search_keyword_t::bin_keyword, rz_search_keyword_t::binmask_length, i, rz_search_keyword_t::keyword_length, and s.
Referenced by do_string_search().
Definition at line 470 of file search.c.
References eprintf, from, len, and s.
Referenced by do_string_search(), rz_core_search_prelude(), rz_search_find(), rz_search_update_i(), and rzfind_open_file().