Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | match |
Macros | |
#define | MAX_RECURSION 100 |
#define | BOL (OUT + 1) |
#define | EOL (BOL + 1) |
#define | BOLEOL (BOL + 2) |
#define | NOTHING (BOL + 3) |
#define | BOW (BOL + 4) |
#define | EOW (BOL + 5) |
#define | CODEMAX (BOL + 5) /* highest code used */ |
#define | NONCHAR(c) ((c) > OUT) |
#define | NNONCHAR (CODEMAX - OUT) |
#define | SP(t, s, c) /* nothing */ |
#define | AT(t, p1, p2, s1, s2) /* nothing */ |
#define | NOTE(s) /* nothing */ |
Functions | |
static int | matcher (struct re_guts *, char *, size_t, RzRegexMatch[], int) |
static char * | dissect (struct match *, char *, char *, sopno, sopno) |
static char * | backref (struct match *, char *, char *, sopno, sopno, sopno, int) |
static char * | fast (struct match *, char *, char *, sopno, sopno) |
static char * | slow (struct match *, char *, char *, sopno, sopno) |
static states | step (struct re_guts *, sopno, sopno, states, int, states) |
|
static |
Definition at line 511 of file engine.c.
References AT, CHIN, test_evm::cs, match::endp, g, i, ISWORD, len, regress::m, MAX_RECURSION, NULL, O_BACK, O_CH, O_PLUS, O_QUEST, OANY, OANYOF, OBACK_, OBOL, OBOW, OCH_, OCHAR, OEOL, OEOW, OLPAREN, OOR1, OOR2, OP, OPLUS_, OPND, OQUEST_, ORPAREN, RZ_REGEX_NEWLINE, RZ_REGEX_NOTBOL, RZ_REGEX_NOTEOL, s, SOP, sp, start, and ut64().
Referenced by matcher().
|
static |
|
static |
Definition at line 717 of file engine.c.
References ASSIGN, BOL, BOLEOL, BOW, c, CLEAR, match::coldp, EOL, EOW, EQ, match::fresh, i, ISSET, ISWORD, regress::m, NOTHING, NULL, OUT, p, RZ_REGEX_NEWLINE, RZ_REGEX_NOTBOL, RZ_REGEX_NOTEOL, SET1, SP, match::st, start, states, step(), and autogen_x86imm::tmp.
Referenced by _r_list_half_split(), _sdb_list_split(), and matcher().
|
static |
Definition at line 132 of file engine.c.
References backref(), CLEAR, match::coldp, dissect(), match::eflags, match::endp, fast(), free(), g, i, if(), regress::m, malloc(), NOTE, NULL, match::pmatch, rz_regmatch_t::rm_eo, rz_regmatch_t::rm_so, RZ_REGEX_BACKR, RZ_REGEX_ESPACE, RZ_REGEX_INVARG, RZ_REGEX_NOMATCH, RZ_REGEX_NOSUB, RZ_REGEX_STARTEND, SETUP, slow(), start, STATESETUP, and STATETEARDOWN.
|
static |
Definition at line 806 of file engine.c.
References ASSIGN, AT, BOL, BOLEOL, BOW, c, CLEAR, match::empty, EOL, EOW, EQ, i, ISSET, ISWORD, regress::m, NOTHING, NULL, OUT, p, RZ_REGEX_NEWLINE, RZ_REGEX_NOTBOL, RZ_REGEX_NOTEOL, SET1, SP, match::st, start, states, step(), and autogen_x86imm::tmp.
Referenced by _r_list_half_split(), _sdb_list_split(), dissect(), and matcher().
|
static |
Definition at line 888 of file engine.c.
References BACK, BOL, BOLEOL, BOW, CHIN, test_evm::cs, EOL, EOW, eprintf, FWD, g, i, INC, INIT, ISSETBACK, ISSTATEIN, NONCHAR, O_BACK, O_CH, O_PLUS, O_QUEST, OANY, OANYOF, OBACK_, OBOL, OBOW, OCH_, OCHAR, OEND, OEOL, OEOW, OLPAREN, onestate, OOR1, OOR2, OP, OPLUS_, OPND, OQUEST_, ORPAREN, pc, s, and start.
Referenced by _pointer_table(), annotated_hexdump(), BMK_findMaxMem(), cmd_print_bars(), combine_sequences(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), fast(), LZ4_compress_generic_validated(), LZ4HC_InsertAndGetWiderMatch(), main(), qnxr_send_vcont(), rz_big_and(), rz_big_or(), rz_big_xor(), rz_cmd_help(), rz_core_analysis_get_stats(), rz_core_cmd_foreach(), rz_core_print_hexdump(), rz_core_write_seq_at(), rz_print_fill(), rz_print_hexdump_str(), rz_print_hexii(), rz_range_percent(), rz_write_op_sequence_handler(), slow(), ts_query__add_negated_fields(), ts_query__analyze_patterns(), ts_query__parse_pattern(), ts_query__step_is_fallible(), ts_query_cursor__add_state(), ts_query_cursor__advance(), ts_query_cursor__capture(), ts_query_cursor__first_in_progress_capture(), ts_query_disable_capture(), and ts_query_new().