Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:58:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Sanity checks against invalid binaries, wrong arch, weird elf version.
Proto:static int elf_header_check(struct load_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct load_info * | info |
| 2912 | If memcmp(e_ident, ELFMAG, SELFMAG) != 0 || e_type != ET_REL || Not elf_check_arch(hdr) || e_shentsize != size of Elf_Shdr Then Return -ENOEXEC |
| 2923 | Return 0 |
| Name | Describe |
|---|---|
| load_module | Allocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections. |
| 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 |