Lines Matching refs:Phdr
488 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) {
489 if (Phdr.p_type == ELF::PT_DYNAMIC) {
491 reinterpret_cast<const Elf_Dyn *>(base() + Phdr.p_offset),
492 Phdr.p_filesz / sizeof(Elf_Dyn));
493 DynSecSize = Phdr.p_filesz;
541 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError)
542 if (Phdr.p_type == ELF::PT_LOAD)
543 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr));
547 [](uint64_t VAddr, const Elf_Phdr_Impl<ELFT> *Phdr) {
548 return VAddr < Phdr->p_vaddr;
554 const Elf_Phdr &Phdr = **I;
555 uint64_t Delta = VAddr - Phdr.p_vaddr;
556 if (Delta >= Phdr.p_filesz)
558 return base() + Phdr.p_offset + Delta;