Function report |
Source Code:arch\x86\kernel\kprobes\opt.c |
Create Date:2022-07-28 08:39:11 |
| Last Modify:2022-05-22 07:44:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Insert a move instruction which sets a pointer to eax/rdi (1st arg).
Proto:static void synthesize_set_arg1(kprobe_opcode_t *addr, unsigned long val)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| kprobe_opcode_t * | addr | |
| unsigned long | val |
| 78 | addr++ = 0x48 |
| 79 | addr++ = 0xbf |
| Name | Describe |
|---|---|
| arch_prepare_optimized_kprobe | Copy replacing target instructions* Target instructions MUST be relocatable (checked inside)* This is called when new aggr(opt)probe is allocated or reused. |
| 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 |