Function report |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-28 08:38:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns non-zero if INSN is boostable.* RIP relative instructions are adjusted at copying time in 64 bits mode
Proto:int can_boost(struct insn *insn, void *addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct insn * | insn | |
| void * | addr |
| 161 | If Given an address, look for it in the exception tables Then Return 0 |
| 165 | If nbytes == 2 Then Return st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
| 169 | If nbytes != 1 Then Return 0 |
| 173 | If Value for the false possibility is greater at compile time(inat_is_address_size_prefix(attr)) Then Return 0 |
| 179 | Case & == 0x60 |
| 181 | Return opcode != 0x62 |
| 182 | Case & == 0x70 |
| 183 | Return 0 |
| 184 | Case & == 0x90 |
| 185 | Return opcode != 0x9a |
| 186 | Case & == 0xc0 |
| 189 | Case & == 0xd0 |
| 192 | Case & == 0xe0 |
| 195 | Case & == 0xf0 |
| 198 | Default |
| Name | Describe |
|---|---|
| prepare_boost | Prepare reljump right after instruction to boost |
| copy_optimized_instructions |
| 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 |