Searched refs:elfHeader (Results 1 – 1 of 1) sorted by relevance
198 inline const SectionHeader *sectionHeader(const ElfHeader *elfHeader) in sectionHeader() argument200 return reinterpret_cast<const SectionHeader*>((intptr_t)elfHeader + elfHeader->e_shoff); in sectionHeader()203 inline const SectionHeader *elfSection(const ElfHeader *elfHeader, int index) in elfSection() argument205 return §ionHeader(elfHeader)[index]; in elfSection()208 …static void *relocateSymbol(const ElfHeader *elfHeader, const Elf32_Rel &relocation, const Section… in relocateSymbol() argument210 const SectionHeader *target = elfSection(elfHeader, relocationTable.sh_info); in relocateSymbol()212 intptr_t address = (intptr_t)elfHeader + target->sh_offset; in relocateSymbol()221 const SectionHeader *symbolTable = elfSection(elfHeader, table); in relocateSymbol()230 intptr_t symbolAddress = (intptr_t)elfHeader + symbolTable->sh_offset; in relocateSymbol()236 const SectionHeader *target = elfSection(elfHeader, symbol.st_shndx); in relocateSymbol()[all …]