函数逻辑报告 |
Source Code:arch\x86\kernel\kprobes\opt.c |
Create Date:2022-07-27 09:38:26 |
Last Modify:2022-05-22 07:44:06 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__recover_optprobed_insn
函数原型:unsigned long __recover_optprobed_insn(kprobe_opcode_t *buf, unsigned long addr)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
kprobe_opcode_t * | buf | |
unsigned long | addr |
41 | 以i小于RELATIVEJUMP_SIZE循环 |
52 | 返回:addr |
53 | found : |
63 | 如果addr恒等于 location of the probe point 则 |
65 | memcpy(buf + 1, copied_insn, RELATIVE_ADDR_SIZE) |
66 | 否则 |
67 | offs等于addr减 location of the probe point 减1 |
71 | 返回:buf |
名称 | 描述 |
---|---|
recover_probed_instruction | Recover the probed instruction at addr for further analysis.* Caller must lock kprobes by kprobe_mutex, or disable preemption* for preventing to release referencing kprobes.* Returns zero if the instruction can not get recovered (or access failed). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |