函数逻辑报告 | 
Source Code:security\tomoyo\util.c | 
Create Date:2022-07-27 21:16:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_correct_word2 - Validate a string.*@string: The string to check. Maybe non-'\0'-terminated.*@len: Length of @string.* Check whether the given string follows the naming rules.* Returns true if @string follows the naming rules, false otherwise.
函数原型:static bool tomoyo_correct_word2(const char *string, size_t len)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const char * | string | |
| size_t | len | 
| 436 | bool in_repetition = false | 
| 445 | 如果c恒等于'\\'则 | 
| 451 | 继续下一循环 | 
| 462 | 继续下一循环 | 
| 489 | 转到:out | 
| 490 | 否则如果in_repetition且c恒等于'/'则 | 
| 491 | 转到:out | 
| 493 | 转到:out | 
| 496 | 如果in_repetition则转到:out | 
| 498 | 返回:true | 
| 499 | out : | 
| 500 | 返回:false | 
| 名称 | 描述 | 
|---|---|
| tomoyo_correct_word | moyo_correct_word - Validate a string.*@string: The string to check.* Check whether the given string follows the naming rules.* Returns true if @string follows the naming rules, false otherwise. | 
| tomoyo_correct_domain | moyo_correct_domain - Check whether the given domainname follows the naming rules.*@domainname: The domainname to check.* Returns true if @domainname follows the naming rules, false otherwise. | 
| tomoyo_domain_def | moyo_domain_def - Check whether the given token can be a domainname.*@buffer: The token to check.* Returns true if @buffer possibly be a domainname, false otherwise. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |