/external/google-breakpad/src/common/linux/ |
D | elfutils.cc | 48 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSection() typedef 57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection() 83 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSegment() typedef 92 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment() 115 const ElfW(Ehdr)* elf_header = in ElfClass() 116 reinterpret_cast<const ElfW(Ehdr)*>(elf_base); in ElfClass()
|
D | synth_elf_unittest.cc | 199 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST() typedef 204 const size_t kExpectedSize = sizeof(Ehdr) + in TYPED_TEST() 217 const Ehdr* header = in TYPED_TEST() 218 reinterpret_cast<const Ehdr*>(contents.data()); in TYPED_TEST() 230 EXPECT_EQ(sizeof(Ehdr) + kStringTableSize + kStringTableAlign, in TYPED_TEST() 233 EXPECT_EQ(sizeof(Ehdr), header->e_ehsize); in TYPED_TEST() 257 EXPECT_EQ(sizeof(Ehdr), shdr[1].sh_offset); in TYPED_TEST() 266 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST() typedef 271 const size_t kExpectedSize = sizeof(Ehdr) + in TYPED_TEST() 292 const Ehdr* header = in TYPED_TEST() [all …]
|
D | elf_core_dump.cc | 109 const Ehdr* header = GetHeader(); in IsValid() 120 const ElfCoreDump::Ehdr* ElfCoreDump::GetHeader() const { in GetHeader() 121 return content_.GetData<Ehdr>(0); in GetHeader() 125 const Ehdr* header = GetHeader(); in GetProgramHeader() 145 const Ehdr* header = GetHeader(); in GetProgramHeaderCount()
|
D | elf_core_dump.h | 49 typedef ElfW(Ehdr) Ehdr; typedef 116 const Ehdr* GetHeader() const;
|
D | elfutils.h | 46 typedef Elf32_Ehdr Ehdr; typedef 59 typedef Elf64_Ehdr Ehdr; typedef 113 GetOffset(const typename ElfClass::Ehdr* elf_header,
|
D | dump_symbols.cc | 177 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, in LoadStabs() 227 const typename ElfClass::Ehdr* elf_header, in LoadDwarf() 292 bool DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, in DwarfCFIRegisterNames() 317 const typename ElfClass::Ehdr* elf_header, in LoadDwarfCFI() 400 bool ElfEndianness(const typename ElfClass::Ehdr* elf_header, in ElfEndianness() 587 const typename ElfClass::Ehdr* elf_header, in LoadSymbols() 776 const char* ElfArchitecture(const typename ElfClass::Ehdr* elf_header) { in ElfArchitecture() 824 bool SanitizeDebugFile(const typename ElfClass::Ehdr* debug_elf_header, in SanitizeDebugFile() 855 bool ReadSymbolDataElfClass(const typename ElfClass::Ehdr* elf_header, in ReadSymbolDataElfClass() 860 typedef typename ElfClass::Ehdr Ehdr; in ReadSymbolDataElfClass() typedef [all …]
|
D | elfutils-inl.h | 39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset()
|
D | elf_core_dump_unittest.cc | 63 ElfCoreDump::Ehdr header; in TEST()
|
/external/elfutils/libelf/ |
D | elf-knowledge.h | 75 #define SH_ENTSIZE_HASH(Ehdr) \ argument 76 ((Ehdr)->e_machine == EM_ALPHA \ 77 || ((Ehdr)->e_machine == EM_S390 \ 78 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
|
D | elf32_getehdr.c | 44 static ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument 77 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument 84 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument 87 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2()
|
D | elf32_newehdr.c | 44 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument 47 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2() 78 sizeof (ElfW2(LIBELFBITS,Ehdr))); in ElfW2()
|
D | elf32_updatefile.c | 133 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 140 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2() 151 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2() 155 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2() 527 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 532 ElfW2(LIBELFBITS,Ehdr) tmp_ehdr; in __elfw2() 533 ElfW2(LIBELFBITS,Ehdr) *out_ehdr = ehdr; in __elfw2() 537 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2() 547 (*fctp) (&tmp_ehdr, ehdr, sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2() 555 sizeof (ElfW2(LIBELFBITS,Ehdr)), 0) in __elfw2() [all …]
|
D | abstract.h | 31 #define Ehdr(Bits, Ext) \ macro 32 START (Bits, Ehdr, Ext##Ehdr) \ 48 END (Bits, Ext##Ehdr) 51 Ehdr(32, Ext) 53 Ehdr(64, Ext)
|
D | gelf_xlate.h | 41 TYPE (Ehdr, LIBELFBITS)
|
D | elf32_updatenull.c | 51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW() 129 ElfW2(LIBELFBITS,Ehdr) *ehdr; in __elfw2()
|
D | elf32_getphdr.c | 72 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
|
D | elf32_getshdr.c | 55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 647 const auto &Ehdr = *ElfFile.getHeader(); in readProgramHeaders() local 655 PrHdr.OriginalOffset = PrHdr.Offset = PrHdr.VAddr = Ehdr.e_phoff; in readProgramHeaders() 657 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders() 895 const auto &Ehdr = *ElfFile.getHeader(); in build() local 897 std::copy(Ehdr.e_ident, Ehdr.e_ident + 16, Obj.Ident); in build() 898 Obj.Type = Ehdr.e_type; in build() 899 Obj.Machine = Ehdr.e_machine; in build() 900 Obj.Version = Ehdr.e_version; in build() 901 Obj.Entry = Ehdr.e_entry; in build() 902 Obj.Flags = Ehdr.e_flags; in build() [all …]
|
/external/libunwind/src/ |
D | elfxx.c | 113 static bool elf_w (section_table_offset) (struct elf_image* ei, Elf_W(Ehdr)* ehdr, Elf_W(Off)* offs… in elf_w() 131 struct elf_image* ei, int section, Elf_W(Ehdr)* ehdr, Elf_W(Off)* offset) { in elf_w() 160 char* buf, size_t buf_len, unw_word_t* offp, Elf_W(Ehdr)* ehdr) { in elf_w() 251 Elf_W(Ehdr)* ehdr, Elf_W(Addr)* load_offset) { in elf_w() 277 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in Elf_W() 290 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w() 320 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w() 393 Elf_W(Ehdr) *ehdr = ei->u.mapped.image; in elf_w() 407 Elf_W(Ehdr) *ehdr = ei->u.mapped.image; in elf_w() 423 char *buf, size_t buf_len, unw_word_t* offp, Elf_W(Ehdr)* ehdr) { in elf_w() [all …]
|
D | elfxx.h | 59 GET_FIELD(ei, 0, Elf_W(Ehdr), ehdr, field, check_cached)
|
/external/libchrome/base/debug/ |
D | elf_reader_linux.cc | 23 using Ehdr = Elf32_Ehdr; typedef 30 using Ehdr = Elf64_Ehdr; 76 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfSegments()
|
D | stack_trace_posix.cc | 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()
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 106 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 62 #define Ehdr ElfW(Ehdr) macro 1092 Ehdr ehdr; in main() 1093 memset(&ehdr, 0, sizeof(Ehdr)); in main() 1104 ehdr.e_phoff = sizeof(Ehdr); in main() 1105 ehdr.e_ehsize = sizeof(Ehdr); in main() 1110 if (!writea(1, &ehdr, sizeof(Ehdr))) in main() 1113 size_t offset = sizeof(Ehdr) + ehdr.e_phnum * sizeof(Phdr); in main()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 129 Elf_W(Ehdr) ehdr; in dwarf_find_unwind_table_memory() 254 Elf_W(Ehdr) *ehdr; in dwarf_find_unwind_table()
|