函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unapply_uprobe

函数原型:static int unapply_uprobe(struct uprobe *uprobe, struct mm_struct *mm)

返回类型:int

参数:

类型参数名称
struct uprobe *uprobe
struct mm_struct *mm
1242  err等于0
1244  lock for reading
1245 vma循环
1249  如果非valid_vma: Verify if the specified vma is an executable vma* Relax restrictions while unregistering: vm_flags might have* changed after breakpoint was insertedfile_inode(File we map to (can be NULL). )不等于 Also hold a ref to inode 则继续下一循环
1253  offset等于Offset (within vm_file) in PAGE_SIZEunits 左移PAGE_SHIFT determines the page size
1254  如果offset小于offsetoffset大于等于offsetThe first byte after our end addresswithin vm_mm. Our start address within vm_mm. 则继续下一循环
1258  vaddr等于offset_to_vaddr(vma, offset)
1259  err或等于remove_breakpoint(uprobe, mm, vaddr)
1261  lease a read lock
1263  返回:err
调用者
名称描述
handler_chain