函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:06:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:install_breakpoint
函数原型:static int install_breakpoint(struct uprobe *uprobe, struct mm_struct *mm, struct vm_area_struct *vma, unsigned long vaddr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct uprobe * | uprobe | |
| struct mm_struct * | mm | |
| struct vm_area_struct * | vma | |
| unsigned long | vaddr |
| 913 | ret等于prepare_uprobe(uprobe, File we map to (can be NULL). , mm, vaddr) |
| 922 | 如果first_uprobe则设置内存位 |
| 926 | 如果非ret则lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers). |
| 928 | 否则如果first_uprobe则lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers). |
| 931 | 返回:ret |
| 名称 | 描述 |
|---|---|
| register_for_each_vma | |
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |