Function report |
Source Code:kernel\trace\trace_kprobe.c |
Create Date:2022-07-28 12:39:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Note that we don't verify it, since the code does not come from user space
Proto:static int process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest, void *base)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fetch_insn * | code | |
struct pt_regs * | regs | |
void * | dest | |
void * | base |
1131 | retry : |
1134 | Case op == Register : .param = offset |
1136 | Break |
1137 | Case op == Stack : .param = index |
1139 | Break |
1140 | Case op == Stack pointer |
1141 | val = kernel_stack_pointer(regs) |
1142 | Break |
1143 | Case op == Return value |
1144 | val = regs_return_value(regs) |
1145 | Break |
1146 | Case op == Immediate : .immediate |
1149 | Case op == Current comm |
1152 | Case op == Allocated data: .data |
1160 | Case op == Unresolved Symbol holder |
1163 | Default |
1164 | Return -EILSEQ |
1166 | code++ |
1168 | Return From the 2nd stage, routine is same |
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 |