函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called in context of a munmap of a vma.

函数原型:void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longstart
unsigned longend
1428  如果allows us to skip the uprobe_mmap if there are no uprobe events active* at this time. Probably a fine grained per inode count is better?()或非valid_vma: Verify if the specified vma is an executable vma* Relax restrictions while unregistering: vm_flags might have* changed after breakpoint was inserted则返回
1431  如果非atomic_read( & mm_users)则返回
1434  如果非test_bit(has uprobes , & flags)或test_bit(MMF_HAS_UPROBES can be wrong , & flags)则返回
1438  如果vma_has_uprobes(vma, start, end)则设置内存位
调用者
名称描述
__vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary
unmap_single_vma