Searched refs:sectionHeader (Results 1 – 1 of 1) sorted by relevance
474 inline const SectionHeader *sectionHeader(const ElfHeader *elfHeader) in sectionHeader() function481 return §ionHeader(elfHeader)[index]; in elfSection()665 SectionHeader *sectionHeader = (SectionHeader *)(elfImage + elfHeader->e_shoff); in loadImage() local669 if(sectionHeader[i].sh_type == SHT_PROGBITS) in loadImage()671 if(sectionHeader[i].sh_flags & SHF_EXECINSTR) in loadImage()674 …auto sectionNameOffset = sectionHeader[elfHeader->e_shstrndx].sh_offset + sectionHeader[i].sh_name; in loadImage()690 entryPoints[index].entry = elfImage + sectionHeader[i].sh_offset; in loadImage()691 entryPoints[index].codeSize = sectionHeader[i].sh_size; in loadImage()694 else if(sectionHeader[i].sh_type == SHT_REL) in loadImage()698 … for(Elf32_Word index = 0; index < sectionHeader[i].sh_size / sectionHeader[i].sh_entsize; index++) in loadImage()[all …]