Searched refs:ElfW (Results 1 – 16 of 16) sorted by relevance
49 typedef ElfW(Ehdr) Ehdr;50 typedef ElfW(Nhdr) Nhdr;51 typedef ElfW(Phdr) Phdr;52 typedef ElfW(Word) Word;53 typedef ElfW(Addr) Addr;
115 const ElfW(Ehdr)* elf_header = in ElfClass() local116 reinterpret_cast<const ElfW(Ehdr)*>(elf_base); in ElfClass()
36 #ifndef ElfW37 #define ElfW(type) Elf_##type macro43 ElfW(Nhdr) nhdr;92 size_t offset = sizeof(ElfW(Nhdr)) + in build_id_find_nhdr_callback()
20 typedef ElfW(Phdr) Elf_Phdr;21 typedef ElfW(Ehdr) Elf_Ehdr;180 const ElfW(Dyn) *dynamic = nullptr; in find_cfi_check_in_dso() local184 (const ElfW(Dyn) *)(info->dlpi_addr + info->dlpi_phdr[i].p_vaddr); in find_cfi_check_in_dso()190 for (const ElfW(Dyn) *p = dynamic; p->d_tag != PT_NULL; ++p) { in find_cfi_check_in_dso() local221 for (const ElfW(Sym) *p = (const ElfW(Sym) *)symtab; (ElfW(Addr))p < strtab; in find_cfi_check_in_dso() local
61 ElfW(auxv_t) *p; in find_auxv_entry()63 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry()77 ElfW(auxv_t) *p; in get_auxv_entry()
62 #define Ehdr ElfW(Ehdr)63 #define Phdr ElfW(Phdr)64 #define Shdr ElfW(Shdr)65 #define Nhdr ElfW(Nhdr)66 #define auxv_t ElfW(auxv_t)90 typedef MDTypeHelper<sizeof(ElfW(Addr))>::MDRawDebug MDRawDebug;91 typedef MDTypeHelper<sizeof(ElfW(Addr))>::MDRawLinkMap MDRawLinkMap;917 debug.r_brk = (ElfW(Addr))crashinfo->debug.brk; in AugmentMappings()919 debug.r_ldbase = (ElfW(Addr))crashinfo->debug.ldbase; in AugmentMappings()929 link_map.l_addr = (ElfW(Addr))iter->addr; in AugmentMappings()[all …]
168 const ElfW(Dyn)* dynamic = static_cast<const ElfW(Dyn)*>(segment_start); in ElfFileSoNameFromMappedFile() local169 size_t dcount = segment_size / sizeof(ElfW(Dyn)); in ElfFileSoNameFromMappedFile()170 for (const ElfW(Dyn)* dyn = dynamic; dyn < dynamic + dcount; ++dyn) { in ElfFileSoNameFromMappedFile() local
648 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr) *>(dumper_->auxv()[AT_PHDR]); in WriteDSODebugStream()658 ElfW(Addr) dyn_addr = 0; in WriteDSODebugStream()660 ElfW(Phdr) ph; in WriteDSODebugStream()676 ElfW(Dyn) *dynamic = reinterpret_cast<ElfW(Dyn) *>(dyn_addr + base); in WriteDSODebugStream()685 ElfW(Dyn) dyn; in WriteDSODebugStream()
145 #if !defined(ElfW)146 #define ElfW(type) Elf_##type macro492 typedef ElfW(Half) Elf_Half; in findUnwindSections()495 typedef ElfW(Phdr) Elf_Phdr; in findUnwindSections()498 typedef ElfW(Addr) Elf_Addr; in findUnwindSections()
605 ElfW(Ehdr) ehdr; in SetBaseAddressesForMemoryRegions()606 static_assert(SELFMAG <= sizeof(ElfW(Ehdr)), "SELFMAG too large"); in SetBaseAddressesForMemoryRegions()608 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) && in SetBaseAddressesForMemoryRegions()625 ElfW(Phdr) phdr; in SetBaseAddressesForMemoryRegions()
58 ElfW(auxv_t) *p; in test_cache_shape()
62 const ElfW(Phdr) *phdr = &(info->dlpi_phdr[j]); in ProcessGlobalRegionsCallback() local
415 typedef ElfW(Phdr) Elf_Phdr;
871 typedef ElfW(Phdr) Elf_Phdr; in ForEachMappedRegion()872 typedef ElfW(Ehdr) Elf_Ehdr; in ForEachMappedRegion()
302 unsigned struct_ElfW_Phdr_sz = sizeof(ElfW(Phdr));
588 ElfW(Addr) ei_text_address, mdi_text_address; in elf_w()