函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\report.c Create Date:2022-07-27 17:26:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tokenize_frame_descr

函数原型:static bool __must_check tokenize_frame_descr(const char **frame_descr, char *token, size_t max_tok_len, unsigned long *value)

返回类型:bool

参数:

类型参数名称
const char **frame_descr
char *token
size_tmax_tok_len
unsigned long *value
212  sep等于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
214  如果(sep == NULL)则sep等于frame_descrstrlen - Find the length of a string*@s: The string to be sized
217  如果(token != NULL)则
218  tok_len等于sepframe_descr
220  如果tok_len加1大于max_tok_len
221  打印错误信息("KASAN internal error: frame description too long: %s\n", * frame_descr)
223  返回:false
227  长字符串复制
231  frame_descr等于sep加1
233  如果value不等于NULLkstrtoul - convert a string to an unsigned long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign, but not a minus sign.
234  打印错误信息("KASAN internal error: not a valid number: %s\n", token)
235  返回:false
238  返回:true
调用者
名称描述
print_decoded_frame_descr