函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__synthesize_relative_insn

函数原型:static inline __attribute__((__always_inline__)) void __synthesize_relative_insn(void *dest, void *from, void *to, u8 op)

返回类型:void

参数:

类型参数名称
void *dest
void *from
void *to
u8op
109  struct __arch_relative_insn{u8 op;s32 raddr;}gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-packed-type-attribute* clang: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-packed-variable-attribute * insn
114  insn等于dest
115  raddr等于tofrom加5
116  op等于op
调用者
名称描述
synthesize_reljumpInsert a jump instruction at address 'from', which jumps to address 'to'.
synthesize_relcallInsert a call instruction at address 'from', which calls address 'to'.