函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tnum_strn

函数原型:int tnum_strn(char *str, size_t size, struct tnum a)

返回类型:int

参数:

类型参数名称
char *str
size_tsize
struct tnuma
174  返回:snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
调用者
名称描述
check_stack_access
check_pkt_ptr_alignment
check_generic_ptr_alignment
check_ctx_reg
check_tp_buffer_access
check_ptr_to_btf_access
__check_stack_boundary
check_stack_boundarywhen register 'regno' is passed into function that will read 'access_size'* bytes from that pointer, make sure that it's within stack boundary* and all elements of stack are initialized
check_return_code
print_verifier_state