函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Free optimized instruction slot

函数原型:static void __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty)

返回类型:void

参数:

类型参数名称
struct optimized_kprobe *op
intdirty
336  如果 detour code buffer
337  free_optinsn_slot( detour code buffer , dirty)
338  detour code buffer = NULL
339  the size of instructions copied to detour code buffer 等于0
调用者
名称描述
arch_remove_optimized_kprobe
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.