Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_uprobe.c Create Date:2022-07-28 12:43:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return the length of string -- including null terminal byte

Proto:static inline __attribute__((__always_inline__)) int fetch_store_strlen(unsigned long addr)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
191  __user * vaddr = addr
193  If addr == FETCH_TOKEN_COMM Then len = strlen - Find the length of a string*@s: The string to be sized + 1
195  Else len = Get the size of a string in user space
198  Return If len > MAX_STRING_SIZE Then 0 Else len
Caller
NameDescribe
fetch_store_strlen_user