函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:st if read will be in packed data bounds

函数原型:static bool inbounds(struct aa_ext *e, size_t size)

返回类型:bool

参数:

类型参数名称
struct aa_ext *e
size_tsize
203  返回:size小于等于endpointer to current position in the buffer
调用者
名称描述
unpack_u16_chunkaa_u16_chunck - test and do bounds checking for a u16 size based chunk*@e: serialized data read head (NOT NULL)*@chunk: start address for chunk of data (NOT NULL)* Returns: the size of chunk found with the read head at the end of the chunk.
unpack_Xpack control byte
unpack_u8
unpack_u32
unpack_u64
unpack_array
unpack_blob