Searched refs:e_ident (Results 1 – 1 of 1) sorted by relevance
235 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member244 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz); in parse_elf_header()245 res = elf->e_ident[EI_MAG0] == ELFMAG0; in parse_elf_header()246 res &= elf->e_ident[EI_MAG1] == ELFMAG1; in parse_elf_header()247 res &= elf->e_ident[EI_MAG2] == ELFMAG2; in parse_elf_header()248 res &= elf->e_ident[EI_MAG3] == ELFMAG3; in parse_elf_header()249 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 in parse_elf_header()250 || elf->e_ident[EI_CLASS] == ELFCLASS64; in parse_elf_header()251 res &= elf->e_ident[EI_DATA] == ELFDATA2LSB; in parse_elf_header()255 elf->le_data = elf->e_ident[EI_DATA] == ELFDATA2LSB; in parse_elf_header()[all …]