Searched refs:section_begin (Results 1 – 2 of 2) sorted by relevance
202 Elf32_Off section_begin = ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize; in elf_validate_sections() local204 if (section_begin > length) in elf_validate_sections()222 if (shdr[i].sh_offset < section_begin || in elf_validate_sections()
225 static inline const char *section_begin(Elf64_Shdr *shdr) in section_begin() function296 elf.sh_string = section_begin(section_by_idx(elf16toh(elf.ehdr->e_shstrndx))); in init_elf()