函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:06:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:prepare_uprobe
函数原型:static int prepare_uprobe(struct uprobe *uprobe, struct file *file, struct mm_struct *mm, unsigned long vaddr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct uprobe * | uprobe | |
struct file * | file | |
struct mm_struct * | mm | |
unsigned long | vaddr |
848 | ret等于0 |
850 | 如果test_bit(Have a copy of original instruction , & flags)则返回:ret |
854 | lock for writing |
855 | 如果test_bit(Have a copy of original instruction , & flags)则转到:out |
871 | BUG_ON((offset & ~PAGE_MASK) + UPROBE_SWBP_INSN_SIZE > PAGE_SIZE) |
874 | smp_wmb() |
875 | 设置内存位 |
877 | out : |
880 | 返回:ret |
名称 | 描述 |
---|---|
install_breakpoint |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |