Home
last modified time | relevance | path

Searched refs:elf_header (Results 1 – 10 of 10) sorted by relevance

/glibc-2.36/sysdeps/unix/sysv/linux/x86/
Dreadelflib.c31 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
34 switch (elf_header->e_machine) in process_elf_file()
37 if (elf_header->e_ident[EI_CLASS] == ELFCLASS64) in process_elf_file()
46 if (elf_header->e_ident[EI_CLASS] == ELFCLASS64) in process_elf_file()
55 if (elf_header->e_ident[EI_CLASS] == ELFCLASS32) in process_elf_file()
63 file_name, elf_header->e_machine); in process_elf_file()
67 if (elf_header->e_ident[EI_CLASS] == ELFCLASS32) in process_elf_file()
/glibc-2.36/elf/
Dreadelflib.c52 ElfW(Ehdr) *elf_header; in process_elf_file()
57 elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
59 if (elf_header->e_ident [EI_CLASS] != ElfW (CLASS)) in process_elf_file()
63 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
65 else if (elf_header->e_ident [EI_CLASS] == ELFCLASS64) in process_elf_file()
73 if (elf_header->e_type != ET_DYN) in process_elf_file()
76 elf_header->e_type); in process_elf_file()
81 elf_pheader = (ElfW(Phdr) *) (elf_header->e_phoff + file_contents); in process_elf_file()
95 i < elf_header->e_phnum; i++, segment++) in process_elf_file()
220 i < elf_header->e_phnum; i++, segment++) in process_elf_file()
Dreadlib.c82 ElfW(Ehdr) *elf_header; in process_file()
157 elf_header = (ElfW(Ehdr) *) file_contents; in process_file()
158 if (memcmp (elf_header->e_ident, ELFMAG, SELFMAG) != 0) in process_file()
172 else if (elf_header->e_type != ET_DYN) in process_file()
/glibc-2.36/sysdeps/unix/sysv/linux/mips/
Dreadelflib.c38 elf_header; in process_elf_file() local
41 elf_header.eh = file_contents; in process_elf_file()
42 if (elf_header.eh->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
48 Elf32_Word flags = elf_header.eh32->e_flags; in process_elf_file()
66 Elf64_Word flags = elf_header.eh64->e_flags; in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/riscv/
Dreadelflib.c44 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
45 Elf32_Ehdr *elf32_header = (Elf32_Ehdr *) elf_header; in process_elf_file()
46 Elf64_Ehdr *elf64_header = (Elf64_Ehdr *) elf_header; in process_elf_file()
53 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/arm/
Dreadelflib.c32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
35 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
37 Elf32_Ehdr *elf32_header = (Elf32_Ehdr *) elf_header; in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/
Dreadelflib.c33 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
36 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/
Dreadelflib.c32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
35 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/s390/
Dreadelflib.c32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
35 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/
Dreadelflib.c32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
35 if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) in process_elf_file()