函数逻辑报告 |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-27 21:17:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static bool tomoyo_path_matches_pattern2(const char *f, const char *p)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | f | |
const char * | p |
838 | f_delimiter等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
841 | p_delimiter等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
849 | f等于f_delimiter |
852 | p等于p_delimiter |
859 | p加等于2 |
861 | recursive : |
868 | 如果*p减1的差不等于'/'或p_delimiter小于等于p加3或p_delimiter不等于'/'或*p_delimiter减1的差不等于'}'或*p_delimiter减2的差不等于'\\'则返回:false |
871 | 循环 |
877 | f等于f_delimiter |
880 | f自加 |
885 | 当f_delimiter循环 |
886 | 返回:false |
名称 | 描述 |
---|---|
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. |
tomoyo_path_matches_pattern | moyo_path_matches_pattern - Check whether the given filename matches the given pattern.*@filename: The filename to check.*@pattern: The pattern to compare.* Returns true if matches, false otherwise.* The following patterns are available.* \\ \ itself. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |