/external/elfutils/0.153/src/ |
H A D | ldgeneric.c | 6254 XElf_Phdr_vardef (phdr); 6450 xelf_getphdr_ptr (ld_state.outelf, nphdr, phdr); 6452 phdr->p_type = PT_LOAD; 6453 phdr->p_offset = segment->offset; 6454 phdr->p_vaddr = segment->addr; 6455 phdr->p_paddr = phdr->p_vaddr; 6456 phdr->p_filesz = memsize - nobits_size; 6457 phdr->p_memsz = memsize; 6458 phdr [all...] |
H A D | xelf.h | 65 # define xelf_update_phdr(elf, idx, phdr) \ 66 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1) 197 # define xelf_update_phdr(elf, idx, phdr) \ 198 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1) 332 # define xelf_update_phdr(elf, idx, phdr) \ 333 gelf_update_phdr (elf, idx, phdr)
|
H A D | readelf.c | 993 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, cnt, &mem); local 996 if (unlikely (phdr == NULL)) 1004 ebl_segment_type_name (ebl, phdr->p_type, buf, sizeof (buf)), 1005 phdr->p_offset, 1006 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 8 : 16, phdr->p_vaddr, 1007 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 8 : 16, phdr->p_paddr, 1008 phdr->p_filesz, 1009 phdr->p_memsz, 1010 phdr->p_flags & PF_R ? 'R' : ' ', 1011 phdr 1051 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, cnt, &phdr_mem); local 1492 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, i, &phdr_mem); local 1634 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, inner, local 1807 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, inner, local 8241 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, cnt, &mem); local [all...] |
H A D | strip.c | 535 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 536 if (phdr == NULL 537 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) 559 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 560 if (phdr == NULL 561 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0))
|
H A D | unstrip.c | 1836 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); 1837 ELF_CHECK (phdr != NULL, _("cannot get program header: %s")); 1839 ELF_CHECK (gelf_update_phdr (unstripped, i, phdr), 1875 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); 1876 ELF_CHECK (phdr != NULL, _("cannot get program header: %s")); 1877 if (phdr->p_type == PT_LOAD) 1884 bias = phdr->p_vaddr - unstripped_phdr->p_vaddr; 1834 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); local 1873 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); local
|
/external/elfutils/0.153/libelf/ |
H A D | elf32_updatefile.c | 165 previous_scn_changed = elf->state.ELFW(elf,LIBELFBITS).phdr == NULL; 173 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL 201 elf->state.ELFW(elf,LIBELFBITS).phdr, 206 elf->state.ELFW(elf,LIBELFBITS).phdr, 561 previous_scn_changed = elf->state.ELFW(elf,LIBELFBITS).phdr == NULL; 574 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL 579 ElfW2(LIBELFBITS,Phdr) *out_phdr = elf->state.ELFW(elf,LIBELFBITS).phdr; 610 (*fctp) (tmp_phdr, elf->state.ELFW(elf,LIBELFBITS).phdr, 640 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
|
H A D | libelfP.h | 329 void *phdr; member in struct:Elf::__anon21275::__anon21276 349 Elf32_Phdr *phdr; /* Pointer to the program header array. */ member in struct:Elf::__anon21275::__anon21277 374 Elf64_Phdr *phdr; /* Pointer to the program header array. */ member in struct:Elf::__anon21275::__anon21278
|
H A D | elf32_updatenull.c | 152 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL 156 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | symbol-elf.c | 972 GElf_Phdr phdr; local 981 if (gelf_getphdr(elf, i, &phdr) == NULL) 983 if (phdr.p_type != PT_LOAD) 986 if (!(phdr.p_flags & PF_X)) 989 if (!(phdr.p_flags & PF_R)) 992 sz = min(phdr.p_memsz, phdr.p_filesz); 995 err = mapfn(phdr.p_vaddr, sz, phdr.p_offset, data);
|
/external/valgrind/main/coregrind/m_ume/ |
H A D | elf.c | 143 VG_(printf)("valgrind: can't read phdr: %s\n", 286 - If the initial phdr scan didn't find any mention of an 351 info->phdr = 0; 359 info->phdr = ph->p_vaddr + ebase; 431 if (info->phdr == 0) 432 info->phdr = minaddr + ebase + e->e.e_phoff;
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cc | 751 Elf_Phdr *phdr = (Elf_Phdr *)iter; local 752 if (phdr->p_type == PT_LOAD && preferred_base > (uptr)phdr->p_vaddr) 753 preferred_base = (uptr)phdr->p_vaddr; 760 Elf_Phdr *phdr = (Elf_Phdr *)iter; local 761 if (phdr->p_type == PT_LOAD) { 762 uptr seg_start = phdr->p_vaddr + delta; 763 uptr seg_end = seg_start + phdr->p_memsz;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_pcb.c | 2400 struct sctp_paramhdr *phdr, parm_buf; local 2432 phdr = sctp_get_next_param(m, offset, &parm_buf, sizeof(parm_buf)); 2433 while (phdr != NULL) { 2436 ptype = ntohs(phdr->param_type); 2438 plen = ntohs(phdr->param_length); 2448 phdr = sctp_get_next_param(m, offset, 2450 if (phdr == NULL) { 2453 p4 = (struct sctp_ipv4addr_param *)phdr; 2469 phdr = sctp_get_next_param(m, offset, 2471 if (phdr 2684 struct sctp_paramhdr parm_buf, *phdr; local 7088 struct sctp_paramhdr *phdr, parm_buf; local [all...] |
H A D | sctp_input.c | 1098 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr, argument 1103 chk = (struct sctp_chunkhdr *)((caddr_t)phdr + sizeof(*phdr)); 1127 sctp_process_unrecog_param(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr) argument 1131 pbad = phdr + 1; 1168 struct sctp_paramhdr *phdr; local 1179 phdr = (struct sctp_paramhdr *)((caddr_t)ch + 1185 error_type = ntohs(phdr->param_type); 1186 error_len = ntohs(phdr->param_length); 1227 p = (int *)((caddr_t)phdr [all...] |
H A D | sctp_output.c | 5354 struct sctp_paramhdr *phdr, params; local 5369 phdr = sctp_get_next_param(mat, at, ¶ms, sizeof(params)); 5370 while ((phdr != NULL) && ((size_t)limit >= sizeof(struct sctp_paramhdr))) { 5371 ptype = ntohs(phdr->param_type); 5372 plen = ntohs(phdr->param_length); 5529 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, min(sizeof(tempbuf),plen)); 5530 if (phdr == NULL) { 5540 m_copyback(op_err, err_at, plen, (caddr_t)phdr); 5594 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, min(sizeof(tempbuf),plen)); 5595 if (phdr 5682 struct sctp_paramhdr *phdr, params; local 9410 struct sctp_paramhdr parm, *phdr; local [all...] |
H A D | sctp_indata.c | 1422 struct sctp_paramhdr *phdr; local 1430 phdr = mtod(mb, struct sctp_paramhdr *); 1433 * two back to back phdr, one with the error type 1437 phdr->param_type = htons(SCTP_CAUSE_INVALID_STREAM); 1438 phdr->param_length = 1440 phdr++; 1442 phdr->param_type = ch->dp.stream_id; 1444 phdr->param_length = 0;
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_shared_library.cpp | 266 if (phdr_table_get_relro_info(view_.phdr(), 278 phdr(), phdr_count(), load_bias(), &arm_exidx_, &arm_exidx_count_);
|
H A D | crazy_linker_library_list.cpp | 167 info.dlpi_phdr = lib->phdr();
|
H A D | crazy_linker_elf_relocations.cpp | 168 phdr_ = view->phdr();
|
/external/elfutils/0.153/libdwfl/ |
H A D | libdwfl.h | 152 const GElf_Phdr *phdr, GElf_Addr bias,
|
/external/elfutils/elfutils/ |
H A D | libdwfl.h | 152 const GElf_Phdr *phdr, GElf_Addr bias,
|
/external/ltrace/ |
H A D | ltrace-elf.c | 1168 GElf_Phdr phdr; local 1170 for (i = 0; gelf_getphdr (lte.elf, i, &phdr) != NULL; ++i) { 1171 if (phdr.p_type == PT_LOAD) { 1172 lte.base_addr = phdr.p_vaddr + bias;
|
/external/valgrind/main/coregrind/m_initimg/ |
H A D | initimg-linux.c | 654 if (info->phdr == 0) 657 auxv->u.a_val = info->phdr; 661 if (info->phdr == 0)
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readelf.c | 1022 ElfXX_Phdr phdr; local 1023 ML_(img_get)(&phdr, img, 1024 ehdr.e_phoff + i * ehdr.e_phentsize, sizeof(phdr)); 1026 if (phdr.p_type == PT_NOTE) { 1027 ElfXX_Off note_ioff = phdr.p_offset; 1029 while (note_ioff < phdr.p_offset + phdr.p_filesz) { 1395 phdr Program header 1536 TRACE_SYMTAB("phdr: ioff %llu nent %ld ent_szB %ld\n",
|
/external/qemu/tcg/ |
H A D | tcg.c | 2750 ElfW(Phdr) phdr; 2772 .e_phoff = offsetof(struct ElfImage, phdr), 2787 .phdr = { 2873 img->phdr.p_vaddr = buf; 2874 img->phdr.p_paddr = buf; 2875 img->phdr.p_memsz = buf_size;
|
/external/tcpdump/ |
H A D | print-ip.c | 139 struct phdr { struct
|