Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:49 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_kprobe_address_safe
Proto:static int check_kprobe_address_safe(struct kprobe *p, struct module **probed_mod)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe * | p | |
struct module ** | probed_mod |
1553 | ret = arch_check_ftrace_location(p) |
1556 | jump_label_lock() |
1560 | If Not kernel_text_address((unsignedlong) location of the probe point ) || within_kprobe_blacklist((unsignedlong) location of the probe point ) || jump_label_text_reserved( location of the probe point , location of the probe point ) || find_bug((unsignedlong) location of the probe point ) Then |
1570 | If probed_mod Then |
1575 | If Value for the false possibility is greater at compile time(!try_module_get( * probed_mod)) Then |
1584 | If within_module_init((unsignedlong) location of the probe point , * probed_mod) && state != Full formed, running module_init. Then |
1591 | out : |
1592 | preempt_enable() |
1593 | jump_label_unlock() |
1595 | Return ret |
Name | Describe |
---|---|
register_kprobe |
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 |