函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__ssb_select_mitigation
函数原型:static enum ssb_mitigation __init __ssb_select_mitigation(void)
返回类型:enum ssb_mitigation
参数:无
1021 | mode等于SPEC_STORE_BYPASS_NONE |
1024 | 如果非boot_cpu_has(Speculative Store Bypass Disable )则返回:mode |
1027 | cmd等于ssb_parse_cmdline() |
1028 | 如果非boot_cpu_has_bug(CPU is affected by speculative store bypass attack )且cmd恒等于SPEC_STORE_BYPASS_CMD_NONE或cmd恒等于SPEC_STORE_BYPASS_CMD_AUTO的值则返回:mode |
1034 | 当:cmd恒等于SPEC_STORE_BYPASS_CMD_AUTO |
1035 | 当:cmd恒等于SPEC_STORE_BYPASS_CMD_SECCOMP |
1040 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SECCOMP)则mode等于SPEC_STORE_BYPASS_SECCOMP |
1042 | 否则mode等于SPEC_STORE_BYPASS_PRCTL |
1044 | 退出 |
1045 | 当:cmd恒等于SPEC_STORE_BYPASS_CMD_ON |
1047 | 退出 |
1048 | 当:cmd恒等于SPEC_STORE_BYPASS_CMD_PRCTL |
1049 | mode等于SPEC_STORE_BYPASS_PRCTL |
1050 | 退出 |
1051 | 当:cmd恒等于SPEC_STORE_BYPASS_CMD_NONE |
1052 | 退出 |
1071 | 如果mode恒等于SPEC_STORE_BYPASS_DISABLE则 |
1086 | 返回:mode |
名称 | 描述 |
---|---|
ssb_select_mitigation |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |