Home | History | Annotate | Download | only in libdw

Lines Matching refs:phdr

147 getcfi_gnu_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, const GElf_Phdr *phdr)
149 if (unlikely (phdr->p_filesz < 4))
152 Elf_Data *data = elf_getdata_rawchunk (elf, phdr->p_offset, phdr->p_filesz,
158 /* XXX might be read error or corrupt phdr */
166 const uint8_t *search_table = parse_eh_frame_hdr (data->d_buf, phdr->p_filesz,
167 phdr->p_vaddr, ehdr,
174 Dwarf_Off eh_frame_offset = eh_frame_ptr - phdr->p_vaddr + phdr->p_offset;
199 cfi->search_table_vaddr = phdr->p_vaddr;
218 GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem);
219 if (unlikely (phdr == NULL))
221 if (phdr->p_type == PT_GNU_EH_FRAME)
222 return getcfi_gnu_eh_frame (elf, ehdr, phdr);
259 /* XXX might be read error or corrupt phdr */