函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec_elf.c Create Date:2022-07-27 12:06:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kexec_elf_probe

函数原型:int kexec_elf_probe(const char *buf, unsigned long len)

返回类型:int

参数:

类型参数名称
const char *buf
unsigned longlen
371  ret等于kexec_build_elf_info - read ELF executable and check that we can use it
372  如果ret则返回:ret
375  kexec_free_elf_info - free memory allocated by elf_read_from_buffer
377  返回:如果elf_check_arch( & ehdr)则0否则负ENOEXEC