函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:06:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:build_map_info
函数原型:static struct map_info *build_map_info(struct address_space *mapping, loff_t offset, bool is_register)
返回类型:struct map_info
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct address_space * | mapping | |
| loff_t | offset | |
| bool | is_register |
| 983 | more等于0 |
| 985 | again : |
| 986 | i_mmap_lock_read(mapping) |
| 1001 | 如果非prev则 |
| 1002 | more自加 |
| 1003 | 继续下一循环 |
| 1006 | 如果非mmget_not_zero(The address space we belong to. )则继续下一循环 |
| 1015 | vaddr等于offset_to_vaddr(vma, offset) |
| 1017 | i_mmap_unlock_read(mapping) |
| 1028 | 循环 |
| 1038 | 转到:again |
| 1039 | out : |
| 1041 | prev等于free_map_info(prev) |
| 1042 | 返回:curr |
| 名称 | 描述 |
|---|---|
| register_for_each_vma |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |