Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:58:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update size with this section: return offset.
Proto:static long get_offset(struct module *mod, unsigned int *size, Elf32_Shdr *sechdr, unsigned int section)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct module * | mod | |
unsigned int * | size | |
Elf32_Shdr * | sechdr | |
unsigned int | section |
2411 | ret = @a is a power of 2 value ( * size, sh_addralign ? : 1) |
2413 | Return ret |
Name | Describe |
---|---|
layout_sections | Lay out the SHF_ALLOC sections in a way not dissimilar to how ldmight -- code, read-only data, read-write data, small data. Tallysizes, and place the offsets into sh_entsize fields: high bit means itbelongs in init. |
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 |