函数逻辑报告 |
Source Code:kernel\kallsyms.c |
Create Date:2022-07-27 12:00:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Expand a compressed symbol data into the resulting uncompressed string,* if uncompressed string is too long (>= maxlen), it will be truncated,* given the offset to where the symbol is in the compressed stream.
函数原型:static unsigned int kallsyms_expand_symbol(unsigned int off, char *result, size_t maxlen)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | off | |
| char * | result | |
| size_t | maxlen |
| 60 | skipped_first等于0 |
| 64 | data等于kallsyms_names[off] |
| 66 | data自加 |
| 79 | tptr等于kallsyms_token_table[kallsyms_token_index[ * data]] |
| 80 | data自加 |
| 81 | len自减 |
| 96 | tail : |
| 101 | 返回:off |
| 名称 | 描述 |
|---|---|
| kallsyms_lookup_name | Lookup the address for this symbol. Returns 0 if not found. |
| kallsyms_on_each_symbol | |
| kallsyms_lookup | Lookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled. |
| lookup_symbol_name | |
| lookup_symbol_attrs | |
| get_ksymbol_core | Returns space to next name. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |