Rizin
unix-like reverse engineering framework and cli tools
rz_search.h File Reference
#include <rz_types.h>
#include <rz_util.h>
#include <rz_list.h>
#include <rz_io.h>

Go to the source code of this file.

Classes

struct  rz_search_keyword_t
 
struct  rz_search_hit_t
 
struct  rz_search_t
 

Macros

#define RZ_SEARCH_DISTANCE_MAX   10
 
#define RZ_SEARCH_KEYWORD_TYPE_BINARY   'i'
 
#define RZ_SEARCH_KEYWORD_TYPE_STRING   's'
 

Typedefs

typedef struct rz_search_keyword_t RzSearchKeyword
 
typedef struct rz_search_hit_t RzSearchHit
 
typedef int(* RzSearchCallback) (RzSearchKeyword *kw, void *user, ut64 where)
 
typedef struct rz_search_t RzSearch
 

Enumerations

enum  {
  RZ_SEARCH_ESIL , RZ_SEARCH_KEYWORD , RZ_SEARCH_REGEXP , RZ_SEARCH_PATTERN ,
  RZ_SEARCH_STRING , RZ_SEARCH_XREFS , RZ_SEARCH_AES , RZ_SEARCH_PRIV_KEY ,
  RZ_SEARCH_DELTAKEY , RZ_SEARCH_MAGIC , RZ_SEARCH_LAST
}
 

Functions

 RZ_LIB_VERSION_HEADER (rz_search)
 

Macro Definition Documentation

◆ RZ_SEARCH_DISTANCE_MAX

#define RZ_SEARCH_DISTANCE_MAX   10

Definition at line 29 of file rz_search.h.

◆ RZ_SEARCH_KEYWORD_TYPE_BINARY

#define RZ_SEARCH_KEYWORD_TYPE_BINARY   'i'

Definition at line 31 of file rz_search.h.

◆ RZ_SEARCH_KEYWORD_TYPE_STRING

#define RZ_SEARCH_KEYWORD_TYPE_STRING   's'

Definition at line 32 of file rz_search.h.

Typedef Documentation

◆ RzSearch

typedef struct rz_search_t RzSearch

◆ RzSearchCallback

typedef int(* RzSearchCallback) (RzSearchKeyword *kw, void *user, ut64 where)

Definition at line 52 of file rz_search.h.

◆ RzSearchHit

typedef struct rz_search_hit_t RzSearchHit

◆ RzSearchKeyword

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RZ_SEARCH_ESIL 
RZ_SEARCH_KEYWORD 
RZ_SEARCH_REGEXP 
RZ_SEARCH_PATTERN 
RZ_SEARCH_STRING 
RZ_SEARCH_XREFS 
RZ_SEARCH_AES 
RZ_SEARCH_PRIV_KEY 
RZ_SEARCH_DELTAKEY 
RZ_SEARCH_MAGIC 
RZ_SEARCH_LAST 

Definition at line 15 of file rz_search.h.

15  {
27 };
@ RZ_SEARCH_LAST
Definition: rz_search.h:26
@ RZ_SEARCH_REGEXP
Definition: rz_search.h:18
@ RZ_SEARCH_STRING
Definition: rz_search.h:20
@ RZ_SEARCH_ESIL
Definition: rz_search.h:16
@ RZ_SEARCH_AES
Definition: rz_search.h:22
@ RZ_SEARCH_PATTERN
Definition: rz_search.h:19
@ RZ_SEARCH_MAGIC
Definition: rz_search.h:25
@ RZ_SEARCH_DELTAKEY
Definition: rz_search.h:24
@ RZ_SEARCH_KEYWORD
Definition: rz_search.h:17
@ RZ_SEARCH_PRIV_KEY
Definition: rz_search.h:23
@ RZ_SEARCH_XREFS
Definition: rz_search.h:21

Function Documentation

◆ RZ_LIB_VERSION_HEADER()

RZ_LIB_VERSION_HEADER ( rz_search  )