Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:44:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:valid_vma: Verify if the specified vma is an executable vma* Relax restrictions while unregistering: vm_flags might have* changed after breakpoint was inserted
Proto:static bool valid_vma(struct vm_area_struct *vma, bool is_register)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
bool | is_register |
123 | flags = Huge TLB Page VM | VM_MAYEXEC | VM_MAYSHARE |
125 | If is_register Then flags |= VM_WRITE |
128 | Return File we map to (can be NULL). && (Flags, see mm.h. & flags) == VM_MAYEXEC |
Name | Describe |
---|---|
build_map_info | |
register_for_each_vma | |
unapply_uprobe | |
uprobe_mmap | Called from mmap_region/vma_adjust with mm->mmap_sem acquired.* Currently we ignore all errors and always return 0, the callers* can't handle the failure anyway. |
uprobe_munmap | Called in context of a munmap of a vma. |
mmf_recalc_uprobes | |
find_active_uprobe |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |