Lines Matching refs:phdr
95 ElfW(Phdr) phdr;
96 if (!get_val<ElfW(Word)>(entry, addr + offsetof(ElfW(Phdr), p_type), &phdr.p_type)) {
99 if (!get_val<ElfW(Off)>(entry, addr + offsetof(ElfW(Phdr), p_offset), &phdr.p_offset)) {
102 if (phdr.p_type == PT_LOAD && phdr.p_offset == entry->offset) {
103 if (!get_val<ElfW(Addr)>(entry, addr + offsetof(ElfW(Phdr), p_vaddr), &phdr.p_vaddr)) {
106 entry->load_base = phdr.p_vaddr;
109 addr += sizeof(phdr);