29 #define RZ_SEARCH_DISTANCE_MAX 10
31 #define RZ_SEARCH_KEYWORD_TYPE_BINARY 'i'
32 #define RZ_SEARCH_KEYWORD_TYPE_STRING 's'
79 #define RZ_SEARCH_AES_BOX_SIZE 31
RZ_API int rz_search_aes_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
RZ_API int rz_search_pattern(RzSearch *s, ut64 from, ut64 to)
RZ_API RzSearchKeyword * rz_search_keyword_new_str(const char *kwbuf, const char *bmstr, const char *data, int ignore_case)
RZ_API RzSearchKeyword * rz_search_keyword_new_wide(const char *kwbuf, const char *bmstr, const char *data, int ignore_case)
RZ_API RzSearchKeyword * rz_search_keyword_new_hex(const char *kwstr, const char *bmstr, const char *data)
RZ_API void rz_search_keyword_free(RzSearchKeyword *kw)
RZ_API RzSearchKeyword * rz_search_keyword_new_regexp(const char *str, const char *data)
RZ_API RzSearchKeyword * rz_search_keyword_new(const ut8 *kwbuf, int kwlen, const ut8 *bmbuf, int bmlen, const char *data)
RZ_API RzSearchKeyword * rz_search_keyword_new_hexmask(const char *kwstr, const char *data)
RZ_API int rz_search_privkey_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
RZ_API int rz_search_regexp_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
struct rz_search_hit_t RzSearchHit
RZ_LIB_VERSION_HEADER(rz_search)
struct rz_search_t RzSearch
int(* RzSearchCallback)(RzSearchKeyword *kw, void *user, ut64 where)
struct rz_search_keyword_t RzSearchKeyword
RZ_API void rz_search_string_prepare_backward(RzSearch *s)
RZ_API RzList * rz_search_find(RzSearch *s, ut64 addr, const ut8 *buf, int len)
RZ_API int rz_search_update(RzSearch *s, ut64 from, const ut8 *buf, long len)
RZ_API void rz_search_set_callback(RzSearch *s, RzSearchCallback(callback), void *user)
RZ_API int rz_search_begin(RzSearch *s)
RZ_API int rz_search_set_mode(RzSearch *s, int mode)
RZ_API void rz_search_kw_reset(RzSearch *s)
RZ_API int rz_search_update_i(RzSearch *s, ut64 from, const ut8 *buf, long len)
RZ_API RzSearch * rz_search_new(int mode)
RZ_API int rz_search_hit_new(RzSearch *s, RzSearchKeyword *kw, ut64 addr)
RZ_API int rz_search_deltakey_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
RZ_API int rz_search_mybinparse_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
RZ_API int rz_search_set_string_limits(RzSearch *s, ut32 min, ut32 max)
RZ_API RzSearch * rz_search_free(RzSearch *s)
RZ_API void rz_search_reset(RzSearch *s, int mode)
RZ_API void rz_search_pattern_size(RzSearch *s, int size)
RZ_API int rz_search_kw_add(RzSearch *s, RzSearchKeyword *kw)
RZ_API void rz_search_set_distance(RzSearch *s, int dist)
RZ_API int rz_search_magic_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr socklen_t static fromlen const void const struct sockaddr to
RZ_API int rz_search_strings_update(RzSearch *s, ut64 from, const ut8 *buf, int len)
int(* update)(struct rz_search_t *s, ut64 from, const ut8 *buf, int len)
RzSearchCallback callback
ut64(WINAPI *w32_GetEnabledXStateFeatures)()