Searched refs:e_shentsize (Results 1 – 21 of 21) sorted by relevance
67 Elf32_Half e_shentsize; member84 Elf64_Half e_shentsize; member
88 TEST_ASSERT(hdrp->e_shentsize == sizeof(Elf64_Shdr), in elfhdr_get()92 hdrp->e_shentsize, sizeof(Elf64_Shdr)); in elfhdr_get()
17 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()71 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()
116 elf_parser.r2(&ehdr->e32.e_shentsize) != sizeof(Elf32_Shdr)) { in elf_parse()146 elf_parser.r2(&ehdr->e64.e_shentsize) != sizeof(Elf64_Shdr)) { in elf_parse()
617 || w2(ehdr->e_shentsize) != sizeof(Elf32_Shdr)) { in do_file()636 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()
934 elf_parser.r2(&ehdr->e32.e_shentsize) != sizeof(Elf32_Shdr)) { in do_file()947 elf_parser.r2(&ehdr->e64.e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()
142 ehdr.e_shentsize = elf_half_to_cpu(ehdr.e_shentsize); in read_ehdr()159 if (ehdr.e_shentsize != sizeof(Elf_Shdr)) in read_ehdr()
235 ehdr.e_shentsize = elf_half_to_cpu(ehdr.e_shentsize); in read_ehdr()254 if (ehdr.e_shentsize != sizeof(Elf_Shdr)) in read_ehdr()
68 ELF_GEN_FIELD_GET_SET(hdr, e_shentsize, u16) in ELF_GEN_FIELD_GET_SET()
97 uint16_t e_shentsize; member187 h.e_shentsize = 0; in make_exe()
286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
370 ehdr.e_shentsize = elf_half_to_cpu(ehdr.e_shentsize); in read_ehdr()387 if (ehdr.e_shentsize != sizeof(Elf_Shdr)) in read_ehdr()
181 e->e_shentsize = swab16(e->e_shentsize); in convert_elf_hdr()
202 Elf32_Off section_begin = ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize; in elf_validate_sections()
74 __be16 e_shentsize; member
1265 elf->e_shentsize = 0; in fill_elf_fdpic_header()1438 elf->e_shentsize = sizeof(*shdr4extnum); in fill_extnum_info()
1974 elf->e_shentsize = sizeof(*shdr4extnum); in fill_extnum_info()
596 || hdr->e_shentsize != sizeof(*sechdrs)) { in vpe_elfload()
465 hdr->e_shentsize = TO_NATIVE(hdr->e_shentsize); in parse_elf()
2023 ehdr->e_shentsize = 0; in kcore__copy_hdr()
1953 if (info->hdr->e_shentsize != sizeof(Elf_Shdr)) { in elf_validity_cache_sechdrs()