函数逻辑报告 |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-27 21:17:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern.*@filename: The start of string to check.*@filename_end: The end of string to check.*@pattern: The start of pattern to compare.
函数原型:static bool tomoyo_file_matches_pattern2(const char *filename, const char *filename_end, const char *pattern, const char *pattern_end)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | filename | |
| const char * | filename_end | |
| const char * | pattern | |
| const char * | pattern_end |
| 681 | 当filename小于filename_end且pattern小于pattern_end循环 |
| 686 | 如果pattern不等于'\\'则 |
| 692 | pattern自加 |
| 695 | 如果c恒等于'/'则 |
| 696 | 返回:false |
| 697 | 否则如果c恒等于'\\'则 |
| 702 | 否则返回:false |
| 705 | 退出 |
| 723 | 退出 |
| 734 | 返回:false |
| 737 | 以i小于等于filename_end减filename循环 |
| 745 | 如果c不等于'\\'则继续下一循环 |
| 751 | 否则退出 |
| 754 | 返回:false |
| 755 | 默认 |
| 756 | j等于0 |
| 758 | 如果c恒等于'$'则 |
| 761 | 否则如果c恒等于'X'则 |
| 764 | 否则如果c恒等于'A'则 |
| 765 | 当moyo_alphabet_char - Check whether the character is an alphabet.*@c: The character to check.* Returns true if @c is an alphabet character, false otherwise.循环 |
| 766 | j自加 |
| 774 | 返回:false |
| 776 | filename自加 |
| 777 | pattern自加 |
| 781 | pattern加等于2 |
| 782 | 返回:filename恒等于filename_end且pattern恒等于pattern_end |
| 名称 | 描述 |
|---|---|
| tomoyo_file_matches_pattern2 | moyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern.*@filename: The start of string to check.*@filename_end: The end of string to check.*@pattern: The start of pattern to compare. |
| tomoyo_file_matches_pattern | moyo_file_matches_pattern - Pattern matching without '/' character.*@filename: The start of string to check.*@filename_end: The end of string to check.*@pattern: The start of pattern to compare.*@pattern_end: The end of pattern to compare. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |