Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\alternative.c Create Date:2022-07-28 07:45:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate)

Type:void

Parameter:

TypeParameterName
void *addr
const void *opcode
size_tlen
const void *emulate
1186  text_poke_loc_init( & tp, addr, opcode, len, emulate)
1187  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
Caller
NameDescribe
arch_optimize_kprobesReplace breakpoints (int3) with relative jumps.* Caller must call with locking kprobe_mutex and text_mutex.
arch_unoptimize_kprobeReplace a relative jump with a breakpoint (int3).