Function report |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-28 08:38:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__recover_probed_insn
Proto:static unsigned long __recover_probed_insn(kprobe_opcode_t *buf, unsigned long addr)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
kprobe_opcode_t * | buf | |
unsigned long | addr |
211 | faddr = ftrace_location(addr) |
249 | If faddr Then memcpy(buf, Initialize these to a safe default [Entry for the 5-byte atomic NOP ], 5) |
251 | Else buf[0] = Saved opcode (which has been replaced with breakpoint) |
253 | Return buf |
Name | Describe |
---|---|
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). |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |