函数逻辑报告 |
Source Code:lib\error-inject.c |
Create Date:2022-07-27 08:10:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Lookup and populate the error_injection_list.* For safety reasons we only allow certain functions to be overridden with* bpf_error_injection, so we need to populate the list of the symbols that have* been marked as safe for overriding.
函数原型:static void populate_error_injection_list(struct error_injection_entry *start, struct error_injection_entry *end, void *priv)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct error_injection_entry * | start | |
struct error_injection_entry * | end | |
void * | priv |
65 | mutex_lock( & ei_mutex) |
67 | entry等于arch_deref_entry_point((void * )addr) |
76 | ent等于kmalloc(ent的长度, GFP_KERNEL) |
79 | start_addr等于entry |
83 | 初始化链表头 |
84 | 添加链表项 |
86 | mutex_unlock( & ei_mutex) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |