Lines Matching refs:phdr
128 getcfi_gnu_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, const GElf_Phdr *phdr) in getcfi_gnu_eh_frame() argument
130 Elf_Data *data = elf_getdata_rawchunk (elf, phdr->p_offset, phdr->p_filesz, in getcfi_gnu_eh_frame()
144 const uint8_t *search_table = parse_eh_frame_hdr (data->d_buf, phdr->p_filesz, in getcfi_gnu_eh_frame()
145 phdr->p_vaddr, ehdr, in getcfi_gnu_eh_frame()
154 dmax = phdr->p_filesz - (search_table - (const uint8_t *) data->d_buf); in getcfi_gnu_eh_frame()
160 Dwarf_Off eh_frame_offset = eh_frame_ptr - phdr->p_vaddr + phdr->p_offset; in getcfi_gnu_eh_frame()
185 cfi->search_table_len = phdr->p_filesz; in getcfi_gnu_eh_frame()
186 cfi->search_table_vaddr = phdr->p_vaddr; in getcfi_gnu_eh_frame()
205 GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem); in getcfi_phdr() local
206 if (unlikely (phdr == NULL)) in getcfi_phdr()
208 if (phdr->p_type == PT_GNU_EH_FRAME) in getcfi_phdr()
209 return getcfi_gnu_eh_frame (elf, ehdr, phdr); in getcfi_phdr()