/external/elfutils/src/ |
size.c | 608 GElf_Phdr *phdr; local 610 phdr = gelf_getphdr (elf, cnt, &phdr_mem); 611 if (phdr == NULL) 614 if (phdr->p_type != PT_LOAD) 625 phdr->p_memsz, 626 (phdr->p_flags & PF_R) == 0 ? '-' : 'r', 627 (phdr->p_flags & PF_W) == 0 ? '-' : 'w', 628 (phdr->p_flags & PF_X) == 0 ? '-' : 'x'); 630 total += phdr->p_memsz;
|
elfcompress.c | 607 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 608 if (phdr == NULL) 610 error (0, 0, "Couldn't get phdr %zd: %s", cnt, elf_errmsg (-1)); 613 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) 615 error (0, 0, "Couldn't create phdr %zd: %s", cnt, [all...] |
strip.c | 554 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 555 if (phdr == NULL 556 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) 578 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 579 if (phdr == NULL 580 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) [all...] |
unstrip.c | 1949 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); local 1991 GElf_Phdr *phdr = gelf_getphdr (stripped, i, &phdr_mem); local [all...] |
elflint.c | 850 GElf_Phdr *phdr = NULL; local 855 phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); 856 if (phdr != NULL && phdr->p_type == PT_TLS) 867 else if (phdr == NULL) 876 < destshdr->sh_offset - phdr->p_offset) 882 > (destshdr->sh_offset - phdr->p_offset 889 > (destshdr->sh_offset - phdr->p_offset 1017 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); local 1019 if (phdr != NULL && phdr->p_type == PT_DYNAMIC 1287 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, i, &phdr_mem); local 1771 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, n, &phdr_mem); local 3008 GElf_Phdr *phdr = NULL; local 3996 GElf_Phdr *phdr; local 4186 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); local 4413 GElf_Phdr *phdr; local [all...] |
/external/libunwind/src/ia64/ |
Gtables.c | 475 const Elf64_Phdr *phdr, *p_unwind, *p_dynamic, *p_text; local 487 phdr = info->dlpi_phdr; 495 for (n = info->dlpi_phnum; --n >= 0; phdr++) 497 if (phdr->p_type == PT_LOAD) 499 Elf64_Addr vaddr = phdr->p_vaddr + load_base; 501 && di->u.ti.segbase < vaddr + phdr->p_memsz) 502 p_text = phdr; 504 else if (phdr->p_type == PT_IA_64_UNWIND) 505 p_unwind = phdr; 506 else if (phdr->p_type == PT_DYNAMIC [all...] |
/external/tcpdump/ |
print-ip.c | 138 struct phdr { struct
|
/external/wpa_supplicant_8/src/eap_common/ |
ikev2_common.c | 248 const struct ikev2_payload_hdr *phdr; local 260 if (left < sizeof(*phdr)) { 266 phdr = (const struct ikev2_payload_hdr *) pos; 267 plen = WPA_GET_BE16(phdr->payload_length); 268 if (plen < sizeof(*phdr) || plen > left) { 276 phdr->next_payload, phdr->flags, plen); 278 pdata = (const u8 *) (phdr + 1); 279 pdatalen = plen - sizeof(*phdr); 332 if (phdr->flags & IKEV2_PAYLOAD_FLAGS_CRITICAL) 534 struct ikev2_payload_hdr *phdr; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 407 typedef ElfW(Phdr) Elf_Phdr; 442 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; local 443 if (phdr->p_type == PT_LOAD) { 444 uptr cur_beg = info->dlpi_addr + phdr->p_vaddr; 445 uptr cur_end = cur_beg + phdr->p_memsz; 446 bool executable = phdr->p_flags & PF_X;
|
sanitizer_linux.cc | 772 typedef ElfW(Phdr) Elf_Phdr; 785 Elf_Phdr *phdr = (Elf_Phdr *)iter; local 786 if (phdr->p_type == PT_LOAD && preferred_base > (uptr)phdr->p_vaddr) 787 preferred_base = (uptr)phdr->p_vaddr; 794 Elf_Phdr *phdr = (Elf_Phdr *)iter; local 795 if (phdr->p_type == PT_LOAD) { 796 uptr seg_start = phdr->p_vaddr + delta; 797 uptr seg_end = seg_start + phdr->p_memsz; [all...] |
/external/elfutils/tests/ |
elfstrmerge.c | 422 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &phdr_mem); local 423 if (phdr == NULL) 424 fail_elf_idx ("Couldn't get phdr", fname, cnt); 425 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) 426 fail_elf_idx ("Couldn't create phdr", fnew, cnt);
|
/external/wpa_supplicant_8/src/eap_peer/ |
ikev2.c | 843 struct ikev2_payload_hdr *phdr; local 851 phdr = wpabuf_put(msg, sizeof(*phdr)); 852 phdr->next_payload = next_payload; 853 phdr->flags = 0; 892 plen = (u8 *) wpabuf_put(msg, 0) - (u8 *) phdr; 893 WPA_PUT_BE16(phdr->payload_length, plen); 902 struct ikev2_payload_hdr *phdr; local 915 phdr = wpabuf_put(msg, sizeof(*phdr)); 938 struct ikev2_payload_hdr *phdr; local 957 struct ikev2_payload_hdr *phdr; local 983 struct ikev2_payload_hdr *phdr; local 1023 struct ikev2_payload_hdr *phdr; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
ikev2.c | 907 struct ikev2_payload_hdr *phdr; local 915 phdr = wpabuf_put(msg, sizeof(*phdr)); 916 phdr->next_payload = next_payload; 917 phdr->flags = 0; 957 plen = (u8 *) wpabuf_put(msg, 0) - (u8 *) phdr; 958 WPA_PUT_BE16(phdr->payload_length, plen); 967 struct ikev2_payload_hdr *phdr; local 981 phdr = wpabuf_put(msg, sizeof(*phdr)); 1004 struct ikev2_payload_hdr *phdr; local 1023 struct ikev2_payload_hdr *phdr; local 1049 struct ikev2_payload_hdr *phdr; local [all...] |
/external/elfutils/libdwfl/ |
dwfl_module_getdwarf.c | 372 GElf_Phdr phdr; local 373 if (unlikely (gelf_getphdr (mod->main.elf, i, &phdr) == NULL)) 375 if (phdr.p_type == PT_INTERP) 377 main_interp = phdr.p_vaddr; 667 GElf_Phdr *phdr = gelf_getphdr (elf, i, &phdr_mem); local 668 if (phdr != NULL && phdr->p_type == PT_LOAD && phdr->p_memsz > 0) 671 && addrs[j] >= phdr->p_vaddr + main_bias 672 && addrs[j] - (phdr->p_vaddr + main_bias) < phdr->p_filesz 830 GElf_Phdr *phdr = gelf_getphdr (mod->main.elf, i, &phdr_mem); local [all...] |
link_map.c | 194 based on its phdr mappings. */ 540 // XXX this could be saved in the file cache: phdr vaddr, DT_DEBUG d_val vaddr 552 GElf_Phdr *phdr = gelf_getphdr (mod->main.elf, i, &phdr_mem); 553 if (phdr == NULL) 556 if (phdr->p_align > 1 && (align == 0 || phdr->p_align < align)) 557 align = phdr->p_align; 560 && phdr->p_type == PT_LOAD 561 && (phdr->p_offset & -align) == (ehdr.e_phoff & -align)) 565 if its phdr mapping could not have supplied that. * 549 GElf_Phdr *phdr = gelf_getphdr (mod->main.elf, i, &phdr_mem); local 709 GElf_Addr phdr = 0; local [all...] |
/external/ltrace/ |
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; [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 208 typedef typename ELFSizeTraits<SIZE>::Phdr ElfXX_Phdr; 335 typedef typename ELFSizeTraits<SIZE>::Phdr ElfXX_Phdr; 345 ElfXX_Phdr* phdr = reinterpret_cast<ElfXX_Phdr*>(region.begin()); local 352 phdr[index].p_type = (*seg)->type(); 353 phdr[index].p_flags = (*seg)->flag(); 354 phdr[index].p_offset = (*seg)->offset(); 355 phdr[index].p_vaddr = (*seg)->vaddr(); 356 phdr[index].p_paddr = (*seg)->paddr(); 357 phdr[index].p_filesz = (*seg)->filesz(); 358 phdr[index].p_memsz = (*seg)->memsz() [all...] |
/toolchain/binutils/binutils-2.25/ld/ |
ldgram.y | 83 } phdr; 105 %type <phdr> phdr_qualifiers 1198 | phdr_list phdr 1201 phdr: label 1246 %X%P:%S: unknown phdr type `%s' (try integer literal)\n"),
|
/art/compiler/ |
elf_builder.h | 85 using Elf_Phdr = typename ElfTypes::Phdr; 832 Elf_Phdr phdr = Elf_Phdr(); local 833 phdr.p_type = PT_PHDR; 834 phdr.p_flags = PF_R; 835 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); 836 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. 837 phdr.p_align = sizeof(Elf_Off) 885 Elf_Phdr phdr = Elf_Phdr(); local [all...] |
/bionic/linker/ |
linker.h | 191 const ElfW(Phdr)* phdr; member in struct:soinfo
|
/external/elfutils/libelf/ |
libelfP.h | 320 void *phdr; member in struct:Elf::__anon10854::__anon10855 340 Elf32_Phdr *phdr; /* Pointer to the program header array. */ member in struct:Elf::__anon10854::__anon10856 365 Elf64_Phdr *phdr; /* Pointer to the program header array. */ member in struct:Elf::__anon10854::__anon10857
|
/external/google-breakpad/src/tools/linux/md2core/ |
minidump-2-core.cc | 63 #define Phdr ElfW(Phdr) 1127 Phdr phdr; local [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
readelf.c | 1079 ElfXX_Phdr phdr; local [all...] |
/frameworks/compile/mclinker/lib/Target/ |
GNULDBackend.cpp | 1990 ELFSegmentFactory::iterator phdr = local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-rx.c | 3170 Elf_Internal_Phdr *phdr = elf_tdata (abfd)->phdr; local 3609 Elf_Internal_Phdr * phdr; local [all...] |