函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_elf.c Create Date:2022-07-29 11:02:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:elf_read

函数原型:static int elf_read(struct file *file, void *buf, size_t len, loff_t pos)

返回类型:int

参数:

类型参数名称
struct file *file
void *buf
size_tlen
loff_tpos
411  rv等于kernel_read(file, buf, len, & pos)
412  如果此条件成立可能性小(为编译器优化)(rv != len)则
413  返回:如果rv小于0则rv否则负EIO
415  返回:0
调用者
名称描述
load_elf_phdrsload_elf_phdrs() - load ELF program headers*@elf_ex: ELF header of the binary whose program headers should be loaded*@elf_file: the opened ELF binary file* Loads ELF program headers from the binary file elf_file, which has the ELF
load_elf_binary