Function report |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-28 07:45:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xt_poke - Update instructions on a live kernel*@addr: address to modify*@opcode: source of the copy*@len: length to copy* Only atomic text poke/set should be allowed when not doing early patching
Proto:void *text_poke(void *addr, const void *opcode, size_t len)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | addr | |
| const void * | opcode | |
| size_t | len |
| 911 | lockdep_assert_held( & Kernel text modification mutex, used for code patching. Users of this lock* can sleep.) |
| 913 | Return __text_poke(addr, opcode, len) |
| Name | Describe |
|---|---|
| text_poke_bp_batch | xt_poke_bp_batch() -- update instructions on live kernel on SMP*@tp: vector of instructions to patch*@nr_entries: number of entries in the vector* Modify multi-byte instruction by using int3 breakpoint on SMP |
| arch_copy_kprobe | |
| arch_arm_kprobe | |
| arch_disarm_kprobe | |
| 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 |