函数逻辑报告 |
Source Code:kernel\stackleak.c |
Create Date:2022-07-27 15:13:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:stackleak_erase
函数原型:asmlinkage void notrace stackleak_erase(void)
返回类型:void
参数:无
56 | poison_count等于0 |
57 | depth等于STACKLEAK_SEARCH_DEPTH除sizeof(unsignedlong) |
59 | 如果skip_erasing()则返回 |
63 | 如果此条件成立可能性小(为编译器优化)(kstack_ptr - boundary >= THREAD_SIZE)则kstack_ptr等于boundary |
67 | 当kstack_ptr大于boundary且poison_count小于等于depth循环 |
68 | 如果kstack_ptr恒等于Check that the poison value points to the unused hole in the* virtual memory map for your platform.则poison_count自加 |
70 | 否则poison_count等于0 |
73 | kstack_ptr减等于sizeof(unsignedlong) |
80 | 如果kstack_ptr恒等于boundary则kstack_ptr加等于sizeof(unsignedlong) |
92 | 如果on_thread_stack()则boundary等于asm(_ASM_SP);wss |
94 | 否则boundary等于current_top_of_stack() |
97 | 当kstack_ptr小于boundary循环 |
98 | kstack_ptr等于Check that the poison value points to the unused hole in the* virtual memory map for your platform. |
99 | kstack_ptr加等于sizeof(unsignedlong) |
103 | lowest_stack等于current_top_of_stack()减THREAD_SIZE除64 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |