Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:46:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:is_trap_at_addr
Proto:static int is_trap_at_addr(struct mm_struct *mm, unsigned long vaddr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | vaddr |
2018 | result = Get a simple variable from user space, with less checking(opcode, (uprobe_opcode_t__user * )vaddr) |
2019 | pagefault_enable() |
2021 | If Value is more likely to compile time(result == 0) Then Go to out |
2030 | result = get_user_pages_remote(NULL, mm, vaddr, 1, get_user_pages read/write w/o permission , & page, NULL, NULL) |
2035 | copy_from_page(page, vaddr, & opcode, UPROBE_SWBP_INSN_SIZE) |
2037 | out : |
Name | Describe |
---|---|
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 |