函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:07:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called from mmap_region/vma_adjust with mm->mmap_sem acquired.* Currently we ignore all errors and always return 0, the callers* can't handle the failure anyway.
函数原型:int uprobe_mmap(struct vm_area_struct *vma)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma |
1372 | 如果File we map to (can be NULL). 且Flags, see mm.h. 按位与VM_WRITE按位或VM_SHARED的值的值恒等于VM_WRITE且test_bit(has uprobes , & flags)则@vma contains reference counter, not the probed instruction. |
1381 | 如果非inode则返回:0 |
1384 | mutex_lock(uprobes_mmap_hash(inode)) |
1394 | vaddr等于offset_to_vaddr(vma, offset) |
1397 | put_uprobe(uprobe) |
1401 | 返回:0 |
名称 | 描述 |
---|---|
__vma_adjust | We cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary |
mmap_region |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |