函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:05:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:valid_vma: Verify if the specified vma is an executable vma* Relax restrictions while unregistering: vm_flags might have* changed after breakpoint was inserted
函数原型:static bool valid_vma(struct vm_area_struct *vma, bool is_register)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_area_struct * | vma | |
| bool | is_register |
| 123 | flags等于Huge TLB Page VM 按位或VM_MAYEXEC按位或VM_MAYSHARE |
| 125 | 如果is_register则flags或等于VM_WRITE |
| 128 | 返回:File we map to (can be NULL). 且Flags, see mm.h. 按位与flags的值恒等于VM_MAYEXEC |
| 名称 | 描述 |
|---|---|
| build_map_info | |
| register_for_each_vma | |
| unapply_uprobe | |
| uprobe_mmap | 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. |
| uprobe_munmap | Called in context of a munmap of a vma. |
| mmf_recalc_uprobes | |
| find_active_uprobe |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |