函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:07:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:xol_get_insn_slot - allocate a slot for xol.* Returns the allocated slot address or 0.

函数原型:static unsigned long xol_get_insn_slot(struct uprobe *uprobe)

返回类型:unsigned long

参数:

类型参数名称
struct uprobe *uprobe
1617  area等于get_xol_area - Allocate process's xol_area if necessary.* This area will be used for storing instructions for execution out of line.* Returns the allocated area or NULL.
1618  如果非area则返回:0
1621  xol_vaddr等于- search for a free slot.
1622  如果此条件成立可能性小(为编译器优化)(!xol_vaddr)则返回:0
1625  arch_uprobe_copy_ixol(pages[0], xol_vaddr, & ixol, ixol的长度)
1628  返回:xol_vaddr
调用者
名称描述
pre_ssoutPrepare to single-step probed instruction out of line.