Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:44 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:If we have a symbol_name argument, look it up and add the offset field* to it. This way, we can specify a relative address to a symbol.* This returns encoded errors if it fails to look up symbol or invalid* combination of parameters.
Proto:static kprobe_opcode_t *_kprobe_addr(kprobe_opcode_t *addr, const char *symbol_name, unsigned int offset)
Type:kprobe_opcode_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| kprobe_opcode_t * | addr | |
| const char * | symbol_name | |
| unsigned int | offset |
| 1475 | If symbol_name && addr || Not symbol_name && Not addr Then Go to invalid |
| 1478 | If symbol_name Then |
| 1479 | addr = kprobe_lookup_name(symbol_name, offset) |
| 1488 | invalid : |
| Name | Describe |
|---|---|
| kprobe_addr |
| 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 |