Function report |
Source Code:lib\test_stackinit.c |
Create Date:2022-07-28 06:37:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_switch_2_none
Proto:static __attribute__((__noinline__)) __attribute__((__section__(".init.text"))) __attribute__((__cold__)) int test_switch_2_none(void)
Type:int
Parameter:Nothing
330 | sum = 0 |
330 | Do |
330 | When 0 cycle |
330 | __builtin_memset( & zero, 0x00, size of zero ) |
330 | __builtin_memset(check_buf, 0x00, size of check_buf ) |
330 | ignored = leaf_switch_2_none((unsignedlong) & ignored, 1, & zero) |
330 | If sum Then |
330 | printk("\0013"KBUILD_MODNAME": switch_2_none: leaf fill was not 0xFF!?\n", ) |
330 | Return 1 |
330 | __builtin_memset(check_buf, 0x00, size of check_buf ) |
330 | ignored = leaf_switch_2_none((unsignedlong) & ignored, 0, & zero) |
330 | printk("\0013"KBUILD_MODNAME": switch_2_none: stack fill missed target!?\n", ) |
330 | printk("\0013"KBUILD_MODNAME": switch_2_none: fill %zu wide\n", fill_size) |
330 | printk("\0013"KBUILD_MODNAME": switch_2_none: target offset by %d\n", (int)((ssize_t)(uintptr_t)Location and size tracking to validate fill and test are colocated. - (ssize_t)(uintptr_t)Location and size tracking to validate fill and test are colocated. )) |
330 | Return 1 |
330 | If sum == 0 Then printk("\0016"KBUILD_MODNAME": switch_2_none ok\n", ) |
330 | Else printk("\0014"KBUILD_MODNAME": switch_2_none FAIL (uninit bytes: %d)\n", sum) |
330 | Return sum != 0 |
Name | Describe |
---|---|
test_stackinit_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |