/external/google-breakpad/src/common/linux/ |
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 | elfutils.cc | 48 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSection() typedef 57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection() 82 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSegment() typedef 90 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment() 114 const ElfW(Ehdr)* elf_header = in ElfClass() 115 reinterpret_cast<const ElfW(Ehdr)*>(elf_base); in ElfClass()
|
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 | 50 typedef ElfW(Ehdr) Ehdr; typedef 117 const Ehdr* GetHeader() const;
|
D | elfutils.h | 49 typedef Elf32_Ehdr Ehdr; typedef 67 typedef Elf64_Ehdr Ehdr; typedef 124 GetOffset(const typename ElfClass::Ehdr* elf_header,
|
D | dump_symbols.cc | 204 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, in LoadStabs() 278 const typename ElfClass::Ehdr* elf_header, in LoadDwarf() 357 bool DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, in DwarfCFIRegisterNames() 382 const typename ElfClass::Ehdr* elf_header, in LoadDwarfCFI() 465 bool ElfEndianness(const typename ElfClass::Ehdr* elf_header, in ElfEndianness() 654 const typename ElfClass::Ehdr* elf_header, in LoadSymbols() 897 const char* ElfArchitecture(const typename ElfClass::Ehdr* elf_header) { in ElfArchitecture() 916 bool SanitizeDebugFile(const typename ElfClass::Ehdr* debug_elf_header, in SanitizeDebugFile() 947 bool InitModuleForElfClass(const typename ElfClass::Ehdr* elf_header, in InitModuleForElfClass() 985 bool ReadSymbolDataElfClass(const typename ElfClass::Ehdr* elf_header, in ReadSymbolDataElfClass() [all …]
|
D | elfutils-inl.h | 39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset()
|
/external/cronet/base/debug/ |
D | elf_reader.cc | 29 using Ehdr = Elf32_Ehdr; typedef 36 using Ehdr = Elf64_Ehdr; 49 const Ehdr* GetElfHeader(const void* elf_mapped_base) { in GetElfHeader() 54 return reinterpret_cast<const Ehdr*>(elf_mapped_base); in GetElfHeader() 64 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in ReadElfBuildId() 128 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in ReadElfLibraryName() 172 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in GetElfProgramHeaders()
|
D | test_elf_image_builder.h | 21 using Ehdr = Elf32_Ehdr; variable 28 using Ehdr = Elf64_Ehdr; variable 113 Ehdr CreateEhdr(Half phnum);
|
D | test_elf_image_builder.cc | 135 size_t offset = sizeof(Ehdr); in MeasureSizesAndOffsets() 296 Ehdr TestElfImageBuilder::CreateEhdr(Half phnum) { in CreateEhdr() 297 Ehdr ehdr; in CreateEhdr() 312 ehdr.e_phoff = sizeof(Ehdr); in CreateEhdr() 315 ehdr.e_ehsize = sizeof(Ehdr); in CreateEhdr()
|
/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 | 130 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 137 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2() 148 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2() 152 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2() 539 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 544 ElfW2(LIBELFBITS,Ehdr) tmp_ehdr; in __elfw2() 545 ElfW2(LIBELFBITS,Ehdr) *out_ehdr = ehdr; in __elfw2() 549 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2() 559 (*fctp) (&tmp_ehdr, ehdr, sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2() 567 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)
|
/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()
|
/external/perfetto/src/profiling/symbolizer/ |
D | elf.h | 58 struct Ehdr { struct 112 struct Ehdr { struct 158 typename E::Shdr* GetShdr(void* mem, const typename E::Ehdr* ehdr, size_t i) { in GetShdr() 164 typename E::Phdr* GetPhdr(void* mem, const typename E::Ehdr* ehdr, size_t i) { in GetPhdr()
|
D | local_symbolizer.cc | 130 const typename E::Ehdr* ehdr = static_cast<typename E::Ehdr*>(mem); in GetLoadBias() 131 if (!InRange(mem, size, ehdr, sizeof(typename E::Ehdr))) { in GetLoadBias() 150 const typename E::Ehdr* ehdr = static_cast<typename E::Ehdr*>(mem); in GetBuildId() 151 if (!InRange(mem, size, ehdr, sizeof(typename E::Ehdr))) { in GetBuildId()
|
/external/musl/src/internal/ |
D | vdso.c | 12 typedef Elf32_Ehdr Ehdr; typedef 18 typedef Elf64_Ehdr Ehdr; typedef 49 Ehdr *eh = (void *)libc.auxv[i+1]; in __vdsosym()
|
D | dynlink.h | 11 typedef Elf32_Ehdr Ehdr; typedef 18 typedef Elf64_Ehdr Ehdr; typedef
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.h | 285 bool GetLoadedElfHeader(uintptr_t start_addr, ElfW(Ehdr)* ehdr); 292 void ParseLoadedElfProgramHeaders(ElfW(Ehdr)* ehdr, 312 uintptr_t GetEffectiveLoadBias(ElfW(Ehdr)* ehdr, uintptr_t start_addr);
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 84 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
|
/external/angle/util/posix/ |
D | crash_handler_posix.cpp | 319 ElfW(Ehdr) ehdr; 320 static_assert(SELFMAG <= sizeof(ElfW(Ehdr)), "SELFMAG too large"); 322 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) &&
|
/external/ltp/libs/libltpvdso/ |
D | parse_vdso.c | 102 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
|