Searched refs:e_ident (Results 1 – 4 of 4) sorted by relevance
13 …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()
65 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member83 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member
100 unsigned char e_ident[EI_NIDENT]; member118 unsigned char e_ident[EI_NIDENT]; // 标志字节,这些字节与机器架构类型无关。目的是为了告诉我们如何解析这个文件的内容 member
191 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()