Function report |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-28 07:45:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:text_poke_loc_init
Proto:void text_poke_loc_init(struct text_poke_loc *tp, void *addr, const void *opcode, size_t len, const void *emulate)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct text_poke_loc * | tp | |
void * | addr | |
const void * | opcode | |
size_t | len | |
const void * | emulate |
1141 | Case opcode == INT3_INSN_OPCODE |
1142 | Break |
1144 | Case opcode == CALL_INSN_OPCODE |
1145 | Case opcode == JMP32_INSN_OPCODE |
1146 | Case opcode == JMP8_INSN_OPCODE |
1150 | Default |
1152 | Case len == 2 |
1158 | Case len == 5 |
1159 | BUG_ON(memcmp(emulate, Initialize these to a safe default [Entry for the 5-byte atomic NOP ], len)) |
1160 | opcode = JMP32_INSN_OPCODE |
1161 | rel32 = 0 |
1162 | Break |
1164 | Default |
1165 | BUG() |
1167 | Break |
Name | Describe |
---|---|
text_poke_bp | xt_poke_bp() -- update instructions on live kernel on SMP*@addr: address to patch*@opcode: opcode of new instruction*@len: length to copy*@handler: address to jump to when the temporary breakpoint is hit* Update a single instruction with the vector in the |
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 |