Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | _fnditem |
Macros | |
#define | CTXMINB 5 |
#define | BSIZE (1024 * 1024) |
#define | MAX_PATLEN 1024 |
Typedefs | |
typedef struct _fnditem | fnditem |
Functions | |
static fnditem * | init_fi (void) |
static void | fini_fi (fnditem *fi) |
static void | add_fi (fnditem *n, unsigned char *blk, int patlen) |
static int | is_fi_present (fnditem *n, unsigned char *blk, int patlen) |
RZ_API int | rz_search_pattern (RzSearch *s, ut64 from, ut64 to) |
Definition at line 40 of file bytepat.c.
References malloc(), memcpy(), n, NULL, and p.
Referenced by rz_search_pattern().
|
static |
Definition at line 28 of file bytepat.c.
References free(), _fnditem::next, and NULL.
Referenced by rz_search_pattern().
|
static |
Definition at line 61 of file bytepat.c.
References add_fi(), addr, BSIZE, bytes, eprintf, fini_fi(), from, i, init_fi(), is_fi_present(), k, MAX_PATLEN, PFMT64x, root, rz_print_is_interrupted(), s, to, and ut64().
Referenced by rz_cmd_search().