/third_party/libunwind/src/ |
D | dl-iterate-phdr.c | 36 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ argument 37 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 38 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ 39 (ehdr).e_ident[EI_MAG3] == ELFMAG3) 71 Elf_W(Ehdr) *ehdr = (Elf_W(Ehdr) *) start; in dl_iterate_phdr() 74 if (mi.path[0] != '\0' && (flags & PROT_READ) != 0 && IS_ELF (*ehdr) in dl_iterate_phdr() 75 && dladdr (ehdr, &canonical_info) != 0 in dl_iterate_phdr() 76 && ehdr == canonical_info.dli_fbase) in dl_iterate_phdr() 79 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) (start + ehdr->e_phoff); in dl_iterate_phdr() 84 info.dlpi_phnum = ehdr->e_phnum; in dl_iterate_phdr()
|
D | elfxx.c | 40 Elf_W (Ehdr) *ehdr = ei->image; in Elf_W() 43 soff = ehdr->e_shoff; in Elf_W() 44 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->size) in Elf_W() 47 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W() 58 Elf_W (Ehdr) *ehdr = ei->image; in elf_w() 63 soff = ehdr->e_shoff; in elf_w() 65 str_soff = soff + (section * ehdr->e_shentsize); in elf_w() 66 if (str_soff + ehdr->e_shentsize > ei->size) in elf_w() 69 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w() 94 Elf_W (Ehdr) *ehdr = ei->image; in elf_w() [all …]
|
/third_party/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 39 Elf64_Ehdr *ehdr = edi->ei.image; in find_gp() local 64 soff = ehdr->e_shoff; in find_gp() 65 str_soff = soff + (ehdr->e_shstrndx * ehdr->e_shentsize); in find_gp() 67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size) in find_gp() 70 soff + ehdr->e_shnum * ehdr->e_shentsize, in find_gp() 78 for (i = 0; i < ehdr->e_shnum; ++i) in find_gp() 86 shdr = (Elf64_Shdr *) (((char *) shdr) + ehdr->e_shentsize); in find_gp() 100 Elf64_Ehdr *ehdr; in ia64_find_unwind_table() local 106 ehdr = edi->ei.image; in ia64_find_unwind_table() 107 phdr = (Elf64_Phdr *) ((char *) edi->ei.image + ehdr->e_phoff); in ia64_find_unwind_table() [all …]
|
/third_party/skia/buildtools/third_party/eu-strip/ |
D | fix-elf-size.patch | 20 ehdr->e_phoff 50 (ehdr->e_shoff 57 - update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags); 58 + update_if_changed (ehdr->e_shoff, size, elf->flags);
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
D | crash_handler_posix.cpp | 316 ElfW(Ehdr) ehdr; 319 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) && 320 memcmp(ehdr.e_ident, ELFMAG, SELFMAG) == 0) 322 switch (ehdr.e_type) 337 for (unsigned i = 0; i != ehdr.e_phnum; ++i) 340 if (safe_memcpy(&phdr, r.start + ehdr.e_phoff + i * sizeof(phdr),
|
/third_party/libunwind/include/mingw/ |
D | freebsd-elf_common.h | 111 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ argument 112 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 113 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ 114 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
|
/third_party/libunwind/include/win/ |
D | freebsd-elf_common.h | 111 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ argument 112 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 113 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \ 114 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
|
/third_party/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 66 Elf_W(Ehdr) *ehdr; in dwarf_find_unwind_table() 89 ehdr = ei->image; in dwarf_find_unwind_table() 90 phdr = (Elf_W(Phdr) *) ((char *) ei->image + ehdr->e_phoff); in dwarf_find_unwind_table() 102 for (i = 0; i < ehdr->e_phnum; ++i) in dwarf_find_unwind_table()
|
D | Gfind_proc_info-lsb.c | 114 Elf_W (Ehdr) *ehdr; in load_debug_frame() 197 ehdr = ei.image; in load_debug_frame() 198 phdr = (Elf_W (Phdr) *) ((char *) ei.image + ehdr->e_phoff); in load_debug_frame() 200 for (i = 0; i < ehdr->e_phnum; ++i) in load_debug_frame()
|
/third_party/musl/ldso/ |
D | dynlink.c | 1623 Ehdr *ehdr = (void *)ldso.base; in __dls2() local 1625 ldso.phnum = ehdr->e_phnum; in __dls2() 1626 ldso.phdr = laddr(&ldso, ehdr->e_phoff); in __dls2() 1627 ldso.phentsize = ehdr->e_phentsize; in __dls2() 1795 Ehdr *ehdr = (void *)map_library(fd, &app); in __dls3() local 1796 if (!ehdr) { in __dls3() 1803 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry); in __dls3() 1860 Ehdr *ehdr = (void *)vdso_base; in __dls3() local 1861 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff); in __dls3() 1862 vdso.phnum = ehdr->e_phnum; in __dls3() [all …]
|
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 1639 Ehdr *ehdr = (void *)ldso.base; in __dls2() local 1641 ldso.phnum = ehdr->e_phnum; in __dls2() 1642 ldso.phdr = laddr(&ldso, ehdr->e_phoff); in __dls2() 1643 ldso.phentsize = ehdr->e_phentsize; in __dls2() 1818 Ehdr *ehdr = (void *)map_library(fd, &app); in __dls3() local 1819 if (!ehdr) { in __dls3() 1826 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry); in __dls3() 1883 Ehdr *ehdr = (void *)vdso_base; in __dls3() local 1884 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff); in __dls3() 1885 vdso.phnum = ehdr->e_phnum; in __dls3() [all …]
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 1639 Ehdr *ehdr = (void *)ldso.base; in __dls2() local 1641 ldso.phnum = ehdr->e_phnum; in __dls2() 1642 ldso.phdr = laddr(&ldso, ehdr->e_phoff); in __dls2() 1643 ldso.phentsize = ehdr->e_phentsize; in __dls2() 1818 Ehdr *ehdr = (void *)map_library(fd, &app); in __dls3() local 1819 if (!ehdr) { in __dls3() 1826 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry); in __dls3() 1883 Ehdr *ehdr = (void *)vdso_base; in __dls3() local 1884 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff); in __dls3() 1885 vdso.phnum = ehdr->e_phnum; in __dls3() [all …]
|
/third_party/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 70 const T *GetTableElement(const ElfW(Ehdr) * ehdr, ElfW(Off) table_offset, in GetTableElement() argument 72 return reinterpret_cast<const T*>(reinterpret_cast<const char *>(ehdr) in GetTableElement()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 70 const T *GetTableElement(const ElfW(Ehdr) * ehdr, ElfW(Off) table_offset, in GetTableElement() argument 72 return reinterpret_cast<const T*>(reinterpret_cast<const char *>(ehdr) in GetTableElement()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_fast.c | 1424 struct eap_tlv_hdr *ehdr; in eap_fast_use_pac_opaque() local 1427 tlv_len = sizeof(*ehdr) + olen; in eap_fast_use_pac_opaque() 1430 ehdr = (struct eap_tlv_hdr *) tlv; in eap_fast_use_pac_opaque() 1431 ehdr->tlv_type = host_to_be16(PAC_TYPE_PAC_OPAQUE); in eap_fast_use_pac_opaque() 1432 ehdr->length = host_to_be16(olen); in eap_fast_use_pac_opaque() 1433 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_fast_use_pac_opaque()
|
D | eap_teap.c | 1582 struct teap_tlv_hdr *ehdr; in eap_teap_use_pac_opaque() local 1586 tlv_len = sizeof(*ehdr) + olen; in eap_teap_use_pac_opaque() 1589 ehdr = (struct teap_tlv_hdr *) tlv; in eap_teap_use_pac_opaque() 1590 ehdr->tlv_type = host_to_be16(PAC_TYPE_PAC_OPAQUE); in eap_teap_use_pac_opaque() 1591 ehdr->length = host_to_be16(olen); in eap_teap_use_pac_opaque() 1592 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_teap_use_pac_opaque()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_fast.c | 1404 struct eap_tlv_hdr *ehdr; in eap_fast_use_pac_opaque() local 1407 tlv_len = sizeof(*ehdr) + olen; in eap_fast_use_pac_opaque() 1410 ehdr = (struct eap_tlv_hdr *) tlv; in eap_fast_use_pac_opaque() 1411 ehdr->tlv_type = host_to_be16(PAC_TYPE_PAC_OPAQUE); in eap_fast_use_pac_opaque() 1412 ehdr->length = host_to_be16(olen); in eap_fast_use_pac_opaque() 1413 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_fast_use_pac_opaque()
|
D | eap_teap.c | 1470 struct teap_tlv_hdr *ehdr; in eap_teap_use_pac_opaque() local 1474 tlv_len = sizeof(*ehdr) + olen; in eap_teap_use_pac_opaque() 1477 ehdr = (struct teap_tlv_hdr *) tlv; in eap_teap_use_pac_opaque() 1478 ehdr->tlv_type = host_to_be16(PAC_TYPE_PAC_OPAQUE); in eap_teap_use_pac_opaque() 1479 ehdr->length = host_to_be16(olen); in eap_teap_use_pac_opaque() 1480 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_teap_use_pac_opaque()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rtld.c | 329 const Elf64_Ehdr *ehdr = elf64_getehdr(part->elf); in ac_rtld_open() local 330 report_elf_if(!ehdr); in ac_rtld_open() 331 report_if(ehdr->e_machine != EM_AMDGPU); in ac_rtld_open()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
D | eapol_supp_sm.c | 1319 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() local 1323 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol() 1353 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() local 1355 if (plen >= sizeof(*ehdr) && ehdr->code == 10) { in eapol_sm_rx_eapol()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
D | eapol_supp_sm.c | 1303 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() local 1307 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol() 1337 const struct eap_hdr *ehdr = in eapol_sm_rx_eapol() local 1339 if (plen >= sizeof(*ehdr) && ehdr->code == 10) { in eapol_sm_rx_eapol()
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink.c | 2585 Ehdr *ehdr = (void *)ldso.base; in __dls2() local 2587 ldso.phnum = ehdr->e_phnum; in __dls2() 2588 ldso.phdr = laddr(&ldso, ehdr->e_phoff); in __dls2() 2589 ldso.phentsize = ehdr->e_phentsize; in __dls2() 2761 Ehdr *ehdr = (void *)map_library(fd, &app, NULL); in __dls3() local 2762 if (!ehdr) { in __dls3() 2769 aux[AT_ENTRY] = (size_t)laddr(&app, ehdr->e_entry); in __dls3() 2864 Ehdr *ehdr = (void *)vdso_base; in __dls3() local 2865 Phdr *phdr = vdso.phdr = (void *)(vdso_base + ehdr->e_phoff); in __dls3() 2866 vdso.phnum = ehdr->e_phnum; in __dls3() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server.c | 800 const struct eap_hdr *ehdr; in SM_STATE() local 824 ehdr = wpabuf_head(sm->eap_if.eapRespData); in SM_STATE() 987 erp_send_finish_reauth(sm, erp, ehdr->identifier, resp_flags, seq, nai); in SM_STATE()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server.c | 792 const struct eap_hdr *ehdr; in SM_STATE() local 815 ehdr = wpabuf_head(sm->eap_if.eapRespData); in SM_STATE() 978 erp_send_finish_reauth(sm, erp, ehdr->identifier, resp_flags, seq, nai); in SM_STATE()
|