函数逻辑报告 |
Source Code:security\apparmor\match.c |
Create Date:2022-07-27 21:29:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:leftmatch_fb
函数原型:static unsigned int leftmatch_fb(struct aa_dfa *dfa, unsigned int start, const char *str, struct match_workbuf *wb, unsigned int *count)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 如果state恒等于0则返回:0 |
| 667 | 如果tables[YYTD_ID_EC]则 |
| 669 | equiv等于EQUIV_TABLE(dfa) |
| 683 | 转到:out |
| 685 | inc_wb_pos(wb) |
| 686 | count自加 |
| 688 | 否则 |
| 702 | 转到:out |
| 704 | inc_wb_pos(wb) |
| 705 | count自加 |
| 709 | out : |
| 712 | 返回:state |
| 名称 | 描述 |
|---|---|
| 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) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |