elfhdr 27 fileinfo/libmagic/elfclass.h if (nbytes <= sizeof(elfhdr)) elfhdr 32 fileinfo/libmagic/elfclass.h swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA]; elfhdr 40 fileinfo/libmagic/elfclass.h (off_t)elf_getu(swap, elfhdr.e_phoff), elfhdr 41 fileinfo/libmagic/elfclass.h elf_getu16(swap, elfhdr.e_phnum), elfhdr 42 fileinfo/libmagic/elfclass.h (size_t)elf_getu16(swap, elfhdr.e_phentsize), elfhdr 50 fileinfo/libmagic/elfclass.h (off_t)elf_getu(swap, elfhdr.e_phoff), elfhdr 51 fileinfo/libmagic/elfclass.h elf_getu16(swap, elfhdr.e_phnum), elfhdr 52 fileinfo/libmagic/elfclass.h (size_t)elf_getu16(swap, elfhdr.e_phentsize), elfhdr 53 fileinfo/libmagic/elfclass.h fsize, &flags, elf_getu16(swap, elfhdr.e_shnum)) elfhdr 59 fileinfo/libmagic/elfclass.h (off_t)elf_getu(swap, elfhdr.e_shoff), elfhdr 60 fileinfo/libmagic/elfclass.h elf_getu16(swap, elfhdr.e_shnum), elfhdr 61 fileinfo/libmagic/elfclass.h (size_t)elf_getu16(swap, elfhdr.e_shentsize), elfhdr 62 fileinfo/libmagic/elfclass.h fsize, &flags, elf_getu16(swap, elfhdr.e_machine)) == -1)