函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\opt.c Create Date:2022-07-27 09:38:26
Last Modify:2022-05-22 07:44:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Insert a move instruction which sets a pointer to eax/rdi (1st arg).

函数原型:static void synthesize_set_arg1(kprobe_opcode_t *addr, unsigned long val)

返回类型:void

参数:

类型参数名称
kprobe_opcode_t *addr
unsigned longval
78  addr自加等于0x48
79  addr自加等于0xbf
83  addr等于val
调用者
名称描述
arch_prepare_optimized_kprobeCopy replacing target instructions* Target instructions MUST be relocatable (checked inside)* This is called when new aggr(opt)probe is allocated or reused.