函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\alternative.c Create Date:2022-07-27 08:45:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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).
__jump_label_transform