函数逻辑报告 |
Source Code:fs\binfmt_elf.c |
Create Date:2022-07-29 11:02:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:elf_map
函数原型:static unsigned long elf_map(struct file *filep, unsigned long addr, const struct elf64_phdr *eppnt, int prot, int type, unsigned long total_size)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filep | |
unsigned long | addr | |
const struct elf64_phdr * | eppnt | |
int | prot | |
int | type | |
unsigned long | total_size |
355 | addr等于ELF_PAGESTART(addr) |
356 | size等于ELF_PAGEALIGN(size) |
371 | 如果total_size则 |
379 | 如果type按位与MAP_FIXED which doesn't unmap underlying mapping 且错误恒等于负EEXIST则打印信息("%d (%s): Uhuuh, elf segment at %px requested but the memory is mapped already\n", task_pid_nr(当前进程), comm, (void * )addr) |
384 | 返回:map_addr |
名称 | 描述 |
---|---|
load_elf_interp | This is much more generalized than the library routine read function,so we keep this separate. Technically the library read functionis only provided so that we can read a.out libraries that havean ELF header |
load_elf_binary |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |