函数逻辑报告 |
Source Code:lib\test_stackinit.c |
Create Date:2022-07-27 07:34:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:test_switch_1_none
函数原型:static __attribute__((__noinline__)) __attribute__((__section__(".init.text"))) __attribute__((__cold__)) int test_switch_1_none(void)
返回类型:int
参数:无
329 | sum等于0 |
329 | 循环 |
329 | 当0循环 |
329 | __builtin_memset( & zero, 0x00, zero的长度) |
329 | __builtin_memset(check_buf, 0x00, check_buf的长度) |
329 | ignored等于leaf_switch_1_none((unsignedlong) & ignored, 1, & zero) |
329 | 如果sum则 |
329 | printk("\0013"KBUILD_MODNAME": switch_1_none: leaf fill was not 0xFF!?\n", ) |
329 | 返回:1 |
329 | __builtin_memset(check_buf, 0x00, check_buf的长度) |
329 | ignored等于leaf_switch_1_none((unsignedlong) & ignored, 0, & zero) |
329 | printk("\0013"KBUILD_MODNAME": switch_1_none: stack fill missed target!?\n", ) |
329 | printk("\0013"KBUILD_MODNAME": switch_1_none: fill %zu wide\n", fill_size) |
329 | printk("\0013"KBUILD_MODNAME": switch_1_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. )) |
329 | 返回:1 |
329 | 如果sum恒等于0则printk("\0016"KBUILD_MODNAME": switch_1_none ok\n", ) |
329 | 否则printk("\0014"KBUILD_MODNAME": switch_1_none FAIL (uninit bytes: %d)\n", sum) |
329 | 返回:sum不等于0 |
名称 | 描述 |
---|---|
test_stackinit_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |