函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kallsyms_lookup_size_offset

函数原型:static inline int kallsyms_lookup_size_offset(unsigned long addr, unsigned long *symbolsize, unsigned long *offset)

返回类型:int

参数:

类型参数名称
unsigned longaddr
unsigned long *symbolsize
unsigned long *offset
122  返回:0
调用者
名称描述
populate_error_injection_listLookup 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.
can_probeCheck if paddr is at an instruction boundary
klp_init_object_loadedparts of the initialization that is done only when the object is loaded
can_optimizeDecode whole function to ensure any instructions don't jump into target