Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Dynamic initialization: padding may be left uninitialized.

Proto:static __attribute__((__noinline__)) __attribute__((__section__(".init.text"))) __attribute__((__cold__)) int leaf_packed_dynamic_all(unsigned long sp, bool fill, struct test_packed *arg)

Type:int

Parameter:

TypeParameterName
unsigned longsp
boolfill
struct test_packed *arg
269  struct test_packed var = {one = one, two = two, three = three, four = four, }
269  Location and size tracking to validate fill and test are colocated. = var
269  target_size = size of var
269  __builtin_memset(buf, (char)(sp & 0xff), size of buf )
269  If fill Then
269  Location and size tracking to validate fill and test are colocated. = var
269  fill_size = size of 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  Return buf[0] | buf[ size of buf - 1]
Caller
NameDescribe
test_packed_dynamic_allDynamic initialization: padding may be left uninitialized.