Function report |
Source Code:security\apparmor\match.c |
Create Date:2022-07-28 19:51:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:leftmatch_fb
Proto:static unsigned int leftmatch_fb(struct aa_dfa *dfa, unsigned int start, const char *str, struct match_workbuf *wb, unsigned int *count)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_dfa * | dfa | |
unsigned int | start | |
const char * | str | |
struct match_workbuf * | wb | |
unsigned int * | count |
651 | def = DEFAULT_TABLE(dfa) |
652 | base = BASE_TABLE(dfa) |
653 | next = NEXT_TABLE(dfa) |
654 | check = CHECK_TABLE(dfa) |
662 | count = 0 |
663 | If state == 0 Then Return 0 |
667 | If tables[YYTD_ID_EC] Then |
669 | equiv = EQUIV_TABLE(dfa) |
683 | Go to out |
685 | inc_wb_pos(wb) |
686 | count++ |
688 | Else |
702 | Go to out |
704 | inc_wb_pos(wb) |
705 | count++ |
709 | out : |
712 | Return state |
Name | Describe |
---|---|
aa_dfa_leftmatch | aa_dfa_leftmatch - traverse @dfa to find state @str stops at*@dfa: the dfa to match @str against (NOT NULL)*@start: the state of the dfa to start matching in*@str: the null terminated string of bytes to match against the dfa (NOT NULL) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |