Home
last modified time | relevance | path

Searched refs:e_ident (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/libs/libELF/
Delf.c13 …bool flag = ptr->e_ident[EI_MAG0] == ELFMAG0 && ptr->e_ident[EI_MAG1] == ELFMAG1 && ptr->e_ident[E… in elf_check()
20 if (ptr->e_ident[EI_CLASS] == 0 || ptr->e_ident[EI_CLASS] > 2) in elf_check()
24 if (ptr->e_ident[EI_DATA] == 0 || ptr->e_ident[EI_DATA] > 2) in elf_check()
28 if(ptr->e_ident[EI_VERSION]==EV_NONE) in elf_check()
Delf.h65 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member
83 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member
/DragonOS-0.1.2/kernel/src/common/
Delf.h100 unsigned char e_ident[EI_NIDENT]; member
118 unsigned char e_ident[EI_NIDENT]; // 标志字节,这些字节与机器架构类型无关。目的是为了告诉我们如何解析这个文件的内容 member
/DragonOS-0.1.2/kernel/src/process/
Dprocess.c191 if (((Elf32_Ehdr *)buf)->e_ident[EI_CLASS] != ELFCLASS64) in process_load_elf_file()
193 kdebug("((Elf32_Ehdr *)buf)->e_ident[EI_CLASS]=%d", ((Elf32_Ehdr *)buf)->e_ident[EI_CLASS]); in process_load_elf_file()