Function report |
Source Code:kernel\extable.c |
Create Date:2022-07-28 09:29:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kernel_text_address
Proto:int kernel_text_address(unsigned long addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 122 | ret = 1 |
| 124 | If core_kernel_text(addr) Then Return 1 |
| 140 | If no_rcu Then rcu_nmi_enter() |
| 143 | If is_module_text_address(addr) Then Go to out |
| 145 | If is_ftrace_trampoline(addr) Then Go to out |
| 147 | If is_kprobe_optinsn_slot(addr) || is_kprobe_insn_slot(addr) Then Go to out |
| 149 | If is_bpf_text_address(addr) Then Go to out |
| 151 | ret = 0 |
| 152 | out : |
| 153 | If no_rcu Then rcu_nmi_exit() |
| 156 | Return ret |
| Name | Describe |
|---|---|
| __kernel_text_address | |
| check_kprobe_address_safe | |
| kprobe_add_ksym_blacklist | |
| jump_label_can_update | |
| populate_error_injection_list | Lookup and populate the error_injection_list.* For safety reasons we only allow certain functions to be overridden with* bpf_error_injection, so we need to populate the list of the symbols that have* been marked as safe for overriding. |
| 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 |