函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Dynamic initialization: padding may be left uninitialized.

函数原型:static __attribute__((__noinline__)) __attribute__((__section__(".init.text"))) __attribute__((__cold__)) int leaf_big_hole_dynamic_all(unsigned long sp, bool fill, struct test_big_hole *arg)

返回类型:int

参数:

类型参数名称
unsigned longsp
boolfill
struct test_big_hole *arg
269  struct test_big_hole var = {one = one, two = two, three = three, 61 byte padding hole here. = 61 byte padding hole here. , }
269  Location and size tracking to validate fill and test are colocated. 等于var
269  target_size等于var的长度
269  __builtin_memset(buf, (char)(sp & 0xff), buf的长度)
269  如果fill
269  Location and size tracking to validate fill and test are colocated. 等于var
269  fill_size等于var的长度
269  __builtin_memset(Location and size tracking to validate fill and test are colocated. , (char)((sp & 0xff) | Volatile mask to convince compiler to copy memory with 0xff. ), fill_size)
269  Dynamic initialization: padding may be left uninitialized.
269  gcc 内建函数 需要声明
269  返回:buf[0]按位或buf[buf的长度 - 1]
调用者
名称描述
test_big_hole_dynamic_allDynamic initialization: padding may be left uninitialized.