Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\insn.h Create Date:2022-07-28 05:53:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Init insn for kernel text

Proto:static inline void kernel_insn_init(struct insn *insn, const void *kaddr, int buf_len)

Type:void

Parameter:

TypeParameterName
struct insn *insn
const void *kaddr
intbuf_len
112  insn_init(insn, kaddr, buf_len, 1)
Caller
NameDescribe
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