函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\insn.h Create Date:2022-07-27 06:52:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Init insn for kernel text

函数原型:static inline void kernel_insn_init(struct insn *insn, const void *kaddr, int buf_len)

返回类型:void

参数:

类型参数名称
struct insn *insn
const void *kaddr
intbuf_len
112  insn_init(insn, kaddr, buf_len, 1)
调用者
名称描述
text_poke_loc_init
can_probeCheck if paddr is at an instruction boundary
__copy_instructionCopy an instruction with recovering modified instruction by kprobes* and adjust the displacement if the instruction uses the %rip-relative* addressing mode. Note that since @real will be the final place of copied
can_optimizeDecode whole function to ensure any instructions don't jump into target