函数逻辑报告 |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-27 21:17:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static bool tomoyo_file_matches_pattern(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 |
800 | pattern_start等于pattern |
801 | bool first = true |
804 | 当pattern小于pattern_end减1循环 |
814 | 如果result则返回:false |
816 | first = false |
817 | pattern_start等于pattern |
名称 | 描述 |
---|---|
tomoyo_path_matches_pattern2 | moyo_path_matches_pattern2 - Do pathname pattern matching.*@f: The start of string to check.*@p: The start of pattern to compare.* Returns true if @f matches @p, false otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |