/external/google-breakpad/src/common/linux/ |
D | dump_symbols.cc | 177 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, in LoadStabs() argument 189 GetOffset<ElfClass, uint8_t>(elf_header, stab_section->sh_offset); in LoadStabs() 191 GetOffset<ElfClass, uint8_t>(elf_header, stabstr_section->sh_offset); in LoadStabs() 227 const typename ElfClass::Ehdr* elf_header, in LoadDwarf() argument 244 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in LoadDwarf() 245 int num_sections = elf_header->e_shnum; in LoadDwarf() 246 const Shdr* section_names = sections + elf_header->e_shstrndx; in LoadDwarf() 249 string name = GetOffset<ElfClass, char>(elf_header, in LoadDwarf() 252 const char* contents = GetOffset<ElfClass, char>(elf_header, in LoadDwarf() 292 bool DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, in DwarfCFIRegisterNames() argument [all …]
|
D | elfutils.cc | 57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection() local 58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSection() 61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in FindElfClassSection() 62 const Shdr* section_names = sections + elf_header->e_shstrndx; in FindElfClassSection() 64 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); in FindElfClassSection() 70 elf_header->e_shnum); in FindElfClassSection() 92 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment() local 93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSegment() 96 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff); in FindElfClassSegment() 98 for (int i = 0; i < elf_header->e_phnum; ++i) { in FindElfClassSegment() [all …]
|
D | elfutils-inl.h | 39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset() argument 41 return reinterpret_cast<const T*>(reinterpret_cast<uintptr_t>(elf_header) + in GetOffset()
|
D | elfutils.h | 70 bool IsValidElf(const void* elf_header); 113 GetOffset(const typename ElfClass::Ehdr* elf_header,
|
/external/google-breakpad/src/common/solaris/ |
D | file_id.cc | 79 GElf_Ehdr elf_header; in FindElfTextSection() local 84 if (gelf_getehdr(elf, &elf_header) == (GElf_Ehdr *)NULL) { in FindElfTextSection() 89 if (elf_header.e_ident[EI_MAG0] != ELFMAG0 || in FindElfTextSection() 90 elf_header.e_ident[EI_MAG1] != ELFMAG1 || in FindElfTextSection() 91 elf_header.e_ident[EI_MAG2] != ELFMAG2 || in FindElfTextSection() 92 elf_header.e_ident[EI_MAG3] != ELFMAG3) { in FindElfTextSection() 109 const char *section_name = elf_strptr(elf, elf_header.e_shstrndx, in FindElfTextSection()
|
D | dump_symbols.cc | 212 bool IsValidElf(const GElf_Ehdr *elf_header) { in IsValidElf() argument 213 return memcmp(elf_header, ELFMAG, SELFMAG) == 0; in IsValidElf() 434 bool LoadSymbols(Elf *elf, GElf_Ehdr *elf_header, struct SymbolInfo *symbols, in LoadSymbols() argument 439 reinterpret_cast<GElf_Shdr *>(elf_header->e_shoff + base); in LoadSymbols() 441 if (!FindSectionByName(elf, kStabName, elf_header->e_shstrndx, in LoadSymbols() 447 if (!FindSectionByName(elf, kStabStrName, elf_header->e_shstrndx, in LoadSymbols() 453 if (!FindSectionByName(elf, kSymtabName, elf_header->e_shstrndx, in LoadSymbols() 459 if (!FindSectionByName(elf, kStrtabName, elf_header->e_shstrndx, in LoadSymbols() 657 GElf_Ehdr elf_header; in WriteSymbolFile() local 661 if (gelf_getehdr(elf, &elf_header) == (GElf_Ehdr *)NULL) { in WriteSymbolFile() [all …]
|
/external/perf_data_converter/src/quipper/ |
D | dso_test_utils.cc | 96 Elf64_Ehdr *elf_header = elf64_newehdr(elf); in WriteElfWithMultipleBuildids() local 97 CHECK(elf_header) << elf_errmsg(-1); in WriteElfWithMultipleBuildids() 98 elf_header->e_ident[EI_DATA] = ELFDATA2LSB; in WriteElfWithMultipleBuildids() 99 elf_header->e_machine = EM_X86_64; in WriteElfWithMultipleBuildids() 100 elf_header->e_version = EV_CURRENT; in WriteElfWithMultipleBuildids() 146 elf_header->e_shstrndx = elf_ndxscn(section); in WriteElfWithMultipleBuildids()
|
/external/libchrome/base/debug/ |
D | elf_reader_linux.cc | 76 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfSegments() local 78 reinterpret_cast<const Phdr*>(elf_base + elf_header->e_phoff); in FindElfSegments() 80 for (Half i = 0; i < elf_header->e_phnum; ++i) { in FindElfSegments()
|
/external/libunwind/src/coredump/ |
D | _UCD_create.c | 82 } elf_header; in _UCD_create() local 83 #define elf_header32 elf_header.h32 in _UCD_create() 84 #define elf_header64 elf_header.h64 in _UCD_create()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | elf-header-flags-xnack.ll | 13 define amdgpu_kernel void @elf_header() {
|
D | elf-header-osabi.ll | 19 define amdgpu_kernel void @elf_header() {
|
D | elf-header-flags-mach.ll | 90 define amdgpu_kernel void @elf_header() {
|