Lines Matching refs:ProgramHeader
43 using ProgramHeader = ElfW(Phdr); typedef
342 void NanoappLoader::mapBss(const ProgramHeader *hdr) { in mapBss()
417 (elfHeader->e_phentsize == sizeof(ProgramHeader)) && in verifyElfHeader()
466 ProgramHeader *NanoappLoader::getProgramHeaderArray() { in getProgramHeaderArray()
468 ProgramHeader *programHeader = nullptr; in getProgramHeaderArray()
471 reinterpret_cast<ProgramHeader *>(mBinary + elfHeader->e_phoff); in getProgramHeaderArray()
645 ProgramHeader *programHeaderArray = getProgramHeaderArray(); in createMappings()
647 const ProgramHeader *first = &programHeaderArray[0]; in createMappings()
648 const ProgramHeader *last = &programHeaderArray[numProgramHeaders - 1]; in createMappings()
665 (elfHeader->e_phoff + (numProgramHeaders * sizeof(ProgramHeader)))); in createMappings()
701 for (const ProgramHeader *ph = first; ph <= last; ++ph) { in createMappings()
750 ProgramHeader *programHeaders = getProgramHeaderArray(); in getDynamicHeader()
761 NanoappLoader::ProgramHeader *NanoappLoader::getFirstRoSegHeader() { in getFirstRoSegHeader()
763 ProgramHeader *ro = nullptr; in getFirstRoSegHeader()
764 ProgramHeader *programHeaders = getProgramHeaderArray(); in getFirstRoSegHeader()
792 ProgramHeader *roSeg = getFirstRoSegHeader(); in fixRelocations()