函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string.c Create Date:2022-07-27 06:59:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:strrchr - Find the last occurrence of a character in a string*@s: The string to be searched*@c: The character to search for

函数原型:char *strrchr(const char *s, int c)

返回类型:char

参数:

类型参数名称
const char *s
intc
445  const char * last = NULL
446  循环
447  如果s恒等于clast等于s
449 s自加循环
450  返回:last
调用者
名称描述
kasan_strings
kdb_readkdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received
parse_unary
parse_probe_argRecursive argument parser
trace_uprobe_create
tomoyo_last_wordmoyo_last_word - Get last component of a domainname.*@name: Domainname to check.* Returns the last word of @domainname.
tomoyo_find_next_domainmoyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
link_targetGiven a string representing a file path of format:* path/to/file.gcda* construct and return a new string:* path/to/file.
fdt_get_name
match_last_lsm
check_fileCheck if we support the binfmt* if we do, return the node, else NULL* locking is done in load_misc_binary